[llvm] [IR] Add support for `nneg` flag with `uitofp` (PR #86141)

via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 8 21:34:59 PDT 2024


================
@@ -2143,12 +2137,15 @@ class IRBuilderBase {
   }
 
   Value *CreateCast(Instruction::CastOps Op, Value *V, Type *DestTy,
-                    const Twine &Name = "") {
+                    const Twine &Name = "", bool IsNonNeg = false) {
----------------
goldsteinn wrote:

ill revert that.

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


More information about the llvm-commits mailing list