[LLVMbugs] [Bug 1850] instcombine miscompiles pointer comparison
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Tue Dec 11 03:26:45 PST 2007
http://llvm.org/bugs/show_bug.cgi?id=1850
Jay Foad <jay.foad at antixlabs.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
--- Comment #7 from Jay Foad <jay.foad at antixlabs.com> 2007-12-11 05:26:38 ---
This bit of the fix looks obviously wrong, because an IntToPtr only has one
operand:
+ if ((CE0->getOpcode() == Instruction::IntToPtr &&
+ CE0->getOperand(0)->getType() == IntPtrTy &&
+ CE0->getOperand(1)->getType() == IntPtrTy) ||
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list