[clang] Revert "Revert "[AMDGPU] const-fold imm operands of (PR #71669)

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 8 19:50:31 PST 2023


================
@@ -0,0 +1,48 @@
+// REQUIRES: amdgpu-registered-target
+
+// RUN: %clang --offload-arch=gfx906 -S -o - -emit-llvm --cuda-device-only -nogpuinc -nogpulib\
----------------
arsenm wrote:

This should use %clang_cc1, look at some of the other CodeGen* test run lines for examples 

https://github.com/llvm/llvm-project/pull/71669


More information about the cfe-commits mailing list