[llvm] [SimplifyCFG] handle monotonic wrapped case for D150943 (PR #65882)

Kohei Asano via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 11 03:37:53 PDT 2023


================
@@ -2039,3 +2039,32 @@ return:
   %x = phi i8 [ 3, %sw.default ], [ 124, %sw.bb3 ], [ -99, %sw.bb2 ], [ -66, %sw.bb1 ], [ -33, %entry ]
   ret i8 %x
 }
+
+define i8 @linearmap_dec_wrapped_mon(i3 %0) {                              ; Assume 1
----------------
khei4 wrote:

Oh, thanks! Sorry, that was just my copy-paste residue of your explanation. Removed.

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


More information about the llvm-commits mailing list