[llvm] [ConstraintElim] Add (UGE, var, 0) to unsigned system for new vars. (PR #76262)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Sat Dec 23 05:31:41 PST 2023


================
@@ -273,7 +273,15 @@ class ConstraintInfo {
 
 public:
   ConstraintInfo(const DataLayout &DL, ArrayRef<Value *> FunctionArgs)
-      : UnsignedCS(FunctionArgs), SignedCS(FunctionArgs), DL(DL) {}
+      : UnsignedCS(FunctionArgs), SignedCS(FunctionArgs), DL(DL) {
+    auto &Value2Index = getValue2Index(false);
+    for (Value *V : FunctionArgs) {
----------------
fhahn wrote:

Added, thanks!

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


More information about the llvm-commits mailing list