[llvm] [ValueLattice] Support constant vectors in mergeIn() (PR #99466)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 18 04:24:32 PDT 2024


================
@@ -426,6 +431,16 @@ class ValueLatticeElement {
         return false;
       if (RHS.isUndef())
         return false;
+      // If the constant is a vector of integers, try to treat it as a range.
----------------
dtcxzyw wrote:

Do you know the reason that we weren't allowed to convert a constant into a constant range?


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


More information about the llvm-commits mailing list