llvm-project
d8f22514 - [Clang] Automatically enable `-fconvergent-functions` on GPU targets (#111076)

Commit
296 days ago
[Clang] Automatically enable `-fconvergent-functions` on GPU targets (#111076) Summary: This patch causes us to respect the `-fconvergent-functions` and `-fno-convergent-functions` options correctly. GPU targets should have this set all the time, but we now offer `-fno-convergent-functions` to opt-out if you want to test broken behavior. This munged about with a lot of the old weird logic, but I don't think it makes any real changes.
Author
Parents
  • clang
    • include/clang/Driver
      • Options.td
    • lib
      • Driver/ToolChains
        • File
          Clang.cpp
      • Frontend
        • File
          CompilerInvocation.cpp
    • test
      • CodeGen
        • File
          nvptx_attributes.c
      • CodeGenCXX
        • File
          dynamic-cast-address-space.cpp
      • OpenMP
        • File
          target_parallel_for_codegen.cpp
        • File
          target_parallel_for_simd_codegen.cpp
        • File
          target_teams_distribute_parallel_for_firstprivate_codegen.cpp
        • File
          target_teams_distribute_parallel_for_private_codegen.cpp
        • File
          target_teams_distribute_parallel_for_simd_firstprivate_codegen.cpp
        • File
          target_teams_distribute_parallel_for_simd_private_codegen.cpp
        • File
          target_teams_generic_loop_private_codegen.cpp
        • File
          target_teams_map_codegen.cpp