Skip to content

Commit b8daa27

Browse files
committed
Use SPIRV-friendly builtin name.
1 parent c711c65 commit b8daa27

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/test/CodeGen/SPIRV/extensions/SPV_KHR_bit_instructions/spirv-friendly_extended_bit_ops.ll

+2-2
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,12 @@ declare spir_func <8 x i8> @_Z24__spirv_BitFieldUExtractDv8_hjj(<8 x i8>, i32, i
7676
; }
7777
define spir_kernel void @testBitReverse_SPIRVFriendly(<4 x i64> %b, ptr addrspace(1) nocapture align 32 %res) #3 {
7878
entry:
79-
%call = call <4 x i64> @llvm.bitreverse.v4i64(<4 x i64> %b)
79+
%call = call <4 x i64> @_Z18__spirv_BitReverseDv4_l(<4 x i64> %b)
8080
store <4 x i64> %call, ptr addrspace(1) %res, align 32
8181
ret void
8282
}
8383

84-
declare <4 x i64> @llvm.bitreverse.v4i64(<4 x i64>) #4
84+
declare <4 x i64> @_Z18__spirv_BitReverseDv4_l(<4 x i64>) #4
8585

8686

8787

0 commit comments

Comments
 (0)