[llvm-bugs] [Bug 43692] New: [IndVarSimplify] Functional change with -DLLVM_ENABLE_ASSERTIONS=OFF

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Oct 16 07:59:36 PDT 2019


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: unassignedbugs at nondot.org
          Reporter: paulsson at linux.vnet.ibm.com
                CC: llvm-bugs at lists.llvm.org

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20191016/a2c245d0/attachment.html>


More information about the llvm-bugs mailing list