[llvm] [LVI][SCCP] Add basic ConstantFPRange support (PR #111544)

via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 8 10:58:23 PDT 2024


================
@@ -173,6 +200,11 @@ class ValueLatticeElement {
       new (&Range) ConstantRange(std::move(Other.Range));
       NumRangeExtensions = Other.NumRangeExtensions;
       break;
+    case constantfprange:
+    case constantfprange_including_undef:
+      new (&FPRange) ConstantFPRange(Other.FPRange);
----------------
goldsteinn wrote:

std::move no?

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


More information about the llvm-commits mailing list