[clang] [llvm] [HLSL] Implement the f16tof32() intrinsic (PR #165860)

Farzon Lotfi via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 4 09:07:53 PST 2025


================
@@ -3516,6 +3516,10 @@ bool SPIRVInstructionSelector::selectIntrinsic(Register ResVReg,
   case Intrinsic::spv_resource_nonuniformindex: {
     return selectResourceNonUniformIndex(ResVReg, ResType, I);
   }
+  case Intrinsic::spv_unpackhalf2x16: {
+    return selectExtInst(ResVReg, ResType, I, GL::UnpackHalf2x16);
----------------
farzonl wrote:

@tcorringham I think you forgot this.

https://github.com/llvm/llvm-project/pull/165860


More information about the llvm-commits mailing list