We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 167718e commit ba1e9f2Copy full SHA for ba1e9f2
clang/lib/CodeGen/CGBuiltin.cpp
@@ -18827,6 +18827,9 @@ case Builtin::BI__builtin_hlsl_elementwise_isinf: {
18827
ArrayRef<Value *>{Op0, Op1}, nullptr, "hlsl.step");
18828
}
18829
case Builtin::BI__builtin_hlsl_wave_get_lane_index: {
18830
+ // Since we don't define a SPIR-V intrinsic for the SPIR-V built-in from
18831
+ // SPIRVBuiltins.td, manually get the matching name for the DirectX
18832
+ // intrinsic and the demangled builtin name
18833
switch (CGM.getTarget().getTriple().getArch()) {
18834
case llvm::Triple::dxil:
18835
return EmitRuntimeCall(Intrinsic::getDeclaration(
0 commit comments