File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -5,21 +5,21 @@ target triple = "nvptx64-nvidia-cuda"
55
66@a = external global ptr align 16
77
8- define i32 @test_v2i8 (i16 %a ) {
9- ; CHECK-LABEL: test_v2i8 (
8+ define i32 @test_disjoint_or_addr (i16 %a ) {
9+ ; CHECK-LABEL: test_disjoint_or_addr (
1010; CHECK: {
1111; CHECK-NEXT: .reg .b32 %r<2>;
1212; CHECK-NEXT: .reg .b64 %rd<3>;
1313; CHECK-EMPTY:
1414; CHECK-NEXT: // %bb.0:
1515; CHECK-NEXT: mov.u64 %rd1, a;
1616; CHECK-NEXT: cvta.global.u64 %rd2, %rd1;
17- ; CHECK-NEXT: ld.volatile. u32 %r1, [%rd2+8];
17+ ; CHECK-NEXT: ld.u32 %r1, [%rd2+8];
1818; CHECK-NEXT: st.param.b32 [func_retval0], %r1;
1919; CHECK-NEXT: ret;
2020 %a1 = ptrtoint ptr @a to i64
2121 %a2 = or disjoint i64 %a1 , 8
2222 %a3 = inttoptr i64 %a2 to ptr
23- %v = load volatile i32 , ptr %a3
23+ %v = load i32 , ptr %a3
2424 ret i32 %v
2525}
You can’t perform that action at this time.
0 commit comments