[clang] [llvm] [HLSL] Implement support for HLSL intrinsic - saturate (PR #104619)

Farzon Lotfi via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 16 11:55:16 PDT 2024


================
@@ -1285,6 +1289,34 @@ static unsigned getBoolCmpOpcode(unsigned PredNum) {
   }
 }
 
+static APFloat getZeroFP(const Type *LLVMFloatTy) {
----------------
farzonl wrote:

I'm a little suprised this didn't already exist.

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


More information about the cfe-commits mailing list