Bugpoint produced this while trying to reduce test case for Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_PROTECTION_FAILURE at address: 0x00000010 0x035ce798 in llvm::isInstructionTriviallyDead (I=0xcb0e0e0) at Local.cpp:328 328 if (!I->mayWriteToMemory()) return true; I am not sure this smaller test cause produces same crash or not. But in any case it causes Illegal Instruction $ opt lgc.bc -load-vn -gcse -simplifycfg
Created attachment 375 [details] test case
verified, I'll take a look
Fixed. Patch here: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20060731/036482.html Testcase here: Transforms/SimplifyCFG/2006-08-03-Crash.ll -Chris
*** Bug 868 has been marked as a duplicate of this bug. ***