[llvm] [DA] use NSW arithmetic (PR #116632)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 18 07:18:39 PST 2024


================
@@ -0,0 +1,34 @@
+; RUN: opt < %s -disable-output "-passes=print<da>" -aa-pipeline=basic-aa
+
+; Check that the testcase does not crash the compiler.
+; https://github.com/llvm/llvm-project/issues/51512
+
+define void @func_1() {
+entry:
+  %l_83.i.i = alloca [2 x [5 x i32]], align 1
+  br label %for.cond857.preheader.i.i
+
+for.cond857.preheader.i.i:                        ; preds = %cleanup.cont1138.i.i, %entry
----------------
fhahn wrote:

Please clean up the names in the test case to make it easier to read.

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


More information about the llvm-commits mailing list