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

S. Bharadwaj Yadavalli via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 19 07:59:11 PDT 2024


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

> Why did this move?

The intent was to co-locate it with the other `static` functions in the vicinity while adding the new one `getOneFP`.

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


More information about the cfe-commits mailing list