File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
test/CodeGenHLSL/builtins Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -19449,7 +19449,8 @@ case Builtin::BI__builtin_hlsl_elementwise_isinf: {
19449
19449
case Builtin::BI__builtin_hlsl_group_memory_barrier_with_group_sync: {
19450
19450
Intrinsic::ID ID =
19451
19451
CGM.getHLSLRuntime().getGroupMemoryBarrierWithGroupSyncIntrinsic();
19452
- return EmitRuntimeCall(Intrinsic::getDeclaration(&CGM.getModule(), ID));
19452
+ return EmitRuntimeCall(
19453
+ Intrinsic::getOrInsertDeclaration(&CGM.getModule(), ID));
19453
19454
}
19454
19455
}
19455
19456
return nullptr;
Original file line number Diff line number Diff line change 10
10
// CHECK-DXIL: define void @
11
11
// CHECK-SPIRV: define spir_func void @
12
12
void test_GroupMemoryBarrierWithGroupSync () {
13
- // CHECK: call void @llvm.[[TARGET]].group.memory.barrier.with.group.sync()
13
+ // CHECK-DXIL: call void @llvm.[[TARGET]].group.memory.barrier.with.group.sync()
14
+ // CHECK-SPIRV: call spir_func void @llvm.[[TARGET]].group.memory.barrier.with.group.sync()
14
15
GroupMemoryBarrierWithGroupSync ();
15
16
}
16
17
You can’t perform that action at this time.
0 commit comments