[llvm-bugs] [Bug 24885] New: Simplifycfg not taking effect

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Sep 20 07:38:26 PDT 2015


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

            Bug ID: 24885
           Summary: Simplifycfg not taking effect
           Product: libraries
           Version: 3.7
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Scalar Optimizations
          Assignee: unassignedbugs at nondot.org
          Reporter: russell.wallace at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 14909
  --> https://llvm.org/bugs/attachment.cgi?id=14909&action=edit
Source and IR files

Compiling and optimizing a simple function with a pair of loops, using clang
-O3 or opt -O3 or both, produces IR in which the third block is empty, whereas
simplifycfg should have removed it.

The simplifycfg pass itself is working, because opt -simplifycfg does remove
the block.

Source file and the different IR versions attached.

-- 
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/20150920/c2cd0746/attachment.html>


More information about the llvm-bugs mailing list