[llvm] [SelectionDAG] Preserve volatile undef stores. (PR #99918)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 22 12:11:40 PDT 2024


================
@@ -73,7 +73,7 @@ define amdgpu_kernel void @store_bitcast_constant_v8i32_to_v16i16(ptr addrspace(
 define amdgpu_kernel void @store_value_lowered_to_undef_bitcast_source(ptr addrspace(1) %out, i64 %a, i64 %b) #0 {
   %undef = call i64 @llvm.amdgcn.icmp.i64(i64 %a, i64 %b, i32 999) #1
   %bc = bitcast i64 %undef to <2 x i32>
-  store volatile <2 x i32> %bc, ptr addrspace(1) %out
+  store <2 x i32> %bc, ptr addrspace(1) %out
----------------
arsenm wrote:

Don't know why these tests are losing volatile 

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


More information about the llvm-commits mailing list