[clang] [llvm] [llvm][AMDGPU] Fold `llvm.amdgcn.wavefrontsize` early (PR #114481)

Joseph Huber via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 4 09:35:09 PST 2024


================
@@ -7,9 +7,9 @@
 
 ; RUN: opt -O3 -S < %s | FileCheck -check-prefix=OPT %s
 ; RUN: opt -mtriple=amdgcn-- -O3 -S < %s | FileCheck -check-prefix=OPT %s
-; RUN: opt -mtriple=amdgcn-- -O3 -mattr=+wavefrontsize32 -S < %s | FileCheck -check-prefix=OPT %s
-; RUN: opt -mtriple=amdgcn-- -passes='default<O3>' -mattr=+wavefrontsize32 -S < %s | FileCheck -check-prefix=OPT %s
-; RUN: opt -mtriple=amdgcn-- -O3 -mattr=+wavefrontsize64 -S < %s | FileCheck -check-prefix=OPT %s
----------------
jhuber6 wrote:

Were there no changes in the test? I'd expect to see a before and after where it's turned to 32, 64, and untouched respectively.

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


More information about the cfe-commits mailing list