[LLVMbugs] [Bug 13188] Assertion failed: (!MBB->pred_empty() && "Value live-in to entry block?")
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Jun 29 05:29:55 PDT 2012
http://llvm.org/bugs/show_bug.cgi?id=13188
Kostya Serebryany <kcc at google.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
CC| |kcc at google.com
Resolution|FIXED |
--- Comment #3 from Kostya Serebryany <kcc at google.com> 2012-06-29 07:29:55 CDT ---
This assertion still fires with -faddress-sanitizer.
LLVM r159420
void PrintF (...);
class T {
void Foo ();
unsigned long bar;
};
void T::Foo () {
float pct = static_cast < float > (bar - 1) / 2;
PrintF ("", pct);
}
clang++ z.cc -c -faddress-sanitizer -O1
clang: llvm/lib/CodeGen/LiveRangeCalc.cpp:183: llvm::VNInfo
*llvm::LiveRangeCalc::findReachingDefs(llvm::LiveInterval *,
llvm::MachineBasicBlock *, llvm::SlotIndex): Assertion `!MBB->pred_empty() &&
"Value live-in to entry block?"' failed.
Repro was minimized from Chrome/V8 source using creduce.
--
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