1. Oct 20, 2023
  2. Oct 19, 2023
    • Yaxun (Sam) Liu's avatar
      Let clang-cl support CUDA/HIP (#68921) · e880e8ae
      Yaxun (Sam) Liu authored
      clang-cl is a driver mode that accepts options of MSVC cl.exe as a
      drop-in replacement for cl.exe. Currently clang-cl accepts mixed clang
      style options and cl style options. To let clang-cl accept a clang-style
      option, just need to add visibility CLOption to that option.
      
      Currently nvcc can pass cl style options to cl.exe, which allows nvcc to
      compile C++ and CUDA programs with mixed nvcc and cl style options. On
      the other hand, clang cannot use mixed clang and cl style options to
      compile CUDA/HIP programs.
      
      This patch add visibility CLOption to options needed to compile CUDA/HIP
      programs. This allows clang-cl to compile CUDA/HIP programs with mixed
      clang and cl style options.
      e880e8ae
    • Matt Arsenault's avatar
      InlineSpiller: Delete assert that implicit_def has no implicit operands (#69087) · 3e49ce6e
      Matt Arsenault authored
      It's not a verifier enforced property that implicit_def may only have
      one operand. Fixes assertions after the coalescer implicit-defs to
      preserve super register liveness to arbitrary instructions.
      
      For some reason I'm unable to reproduce this as a MIR test running only
      the allocator for the x86 test. Not sure it's worth keeping around.
      3e49ce6e
    • Valentin Clement (バレンタイン クレメン)'s avatar
      [flang][openacc] Warn about misplaced end loop directive and ignore it (#69512) · d2e7a15d
      Instead of raising an error for a misplaced `end loop directive`, just
      warn about it and ignore it. This directive is an extension and is
      optional.
      d2e7a15d