[llvm] [ConstantRange] Fix off by 1 bugs in UIToFP and SIToFP handling. (PR #86041)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 21 01:54:41 PDT 2024


================
@@ -0,0 +1,20 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 4
+; RUN: opt < %s -passes=float2int -S | FileCheck %s
+
+define i32 @pr79158(i32 %x.i.0.x.i.0.x.0.x.0.x.0..i) {
----------------
nikic wrote:

Please adjust the variable name :)

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


More information about the llvm-commits mailing list