[LLVMbugs] [Bug 957] [simplifycfg] constantexpr divide evaluation made unconditional

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Oct 19 17:44:32 PDT 2006


sabre at nondot.org changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
            Summary|[simplifycfg] miscompilation|[simplifycfg] constantexpr
                   |                            |divide evaluation made
                   |                            |unconditional
   Target Milestone|---                         |1.9

------- Additional Comments From sabre at nondot.org  2006-10-19 19:44 -------
select is closest to a conditional move.  Given two values (which are precomputed) it picks one.  Select 
itself doesn't have a notion of control flow, a constant expr is a value like any other, which needs to be 

Fixed.  Patch here:

testcase here: SimplifyCFG/2006-10-19-UncondDiv.ll


------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

More information about the llvm-bugs mailing list