[llvm] [AMDGPU] Add support for llvm.lround and llvm.lrint intrinsics lowering. (PR #96817)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 27 00:15:46 PDT 2024


================
@@ -5928,6 +5928,27 @@ void Verifier::visitIntrinsicCall(Intrinsic::ID ID, CallBase &Call) {
     }
     break;
   }
+  case Intrinsic::lround:
+  case Intrinsic::llround: {
+    Type *ValTy = Call.getArgOperand(0)->getType();
----------------
arsenm wrote:

This also needs dedicated verifier tests 

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


More information about the llvm-commits mailing list