[clang] [llvm] [HLSL] implement elementwise firstbithigh hlsl builtin (PR #111082)
Farzon Lotfi via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 4 10:35:09 PDT 2024
================
@@ -2515,6 +2525,10 @@ bool SPIRVInstructionSelector::selectIntrinsic(Register ResVReg,
return selectExtInst(ResVReg, ResType, I, CL::rsqrt, GL::InverseSqrt);
case Intrinsic::spv_sign:
return selectSign(ResVReg, ResType, I);
+ case Intrinsic::spv_firstbituhigh:
----------------
farzonl wrote:
Maybe add a comment saying we are only setting the GL extension because there is no CL equivalent.
https://github.com/llvm/llvm-project/pull/111082
More information about the cfe-commits
mailing list