https://bugs.llvm.org/show_bug.cgi?id=43692

            Bug ID: 43692
           Summary: [IndVarSimplify]  Functional change with
                    -DLLVM_ENABLE_ASSERTIONS=OFF
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Scalar Optimizations
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

Created attachment 22678
  --> https://bugs.llvm.org/attachment.cgi?id=22678&action=edit
reduced testcase

opt -mtriple=s390x-linux-gnu -mcpu=z14 tc_asserts_FC.ll -O3

Depending on -DLLVM_ENABLE_ASSERTIONS= OFF or ON, this gives a different
output.

After Induction Variable Simplification:
with asserts <> no asserts
zext     |  sext
icmp ne  | icmp slt

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to