Go to file
Andrew Trick 949045864d Fix an overly general check in SimplifyIndvar to handle useless phi cycles.
The right way to check for a binary operation is
cast<BinaryOperator>. The original check: cast<Instruction> &&
numOperands() == 2 would match phi "instructions", leading to an
infinite loop in extreme corner case: a useless phi with operands
[self, constant] that prior optimization passes failed to remove,
being used in the loop by another useless phi, in turn being used by an
lshr or udiv.

Fixes PR11350: runaway iteration assertion.

llvm-svn: 144935
2011-11-17 23:36:35 +00:00
clang Added a clause to the ASTImporter allowing it to 2011-11-17 23:20:56 +00:00
compiler-rt platform/clang_darwin: Fix a refacto and commento. 2011-11-17 17:47:22 +00:00
debuginfo-tests Testcase for r133065 2011-06-15 17:57:23 +00:00
libcxx Clarify building instructions for 10.7 2011-11-17 17:14:16 +00:00
libcxxabi reformatted to match Clang style; thanks to John McCall for the nudge 2011-08-15 18:06:47 +00:00
lldb Use a pseudoterminal for local processes if no STDIO redirection or other 2011-11-17 22:14:31 +00:00
llvm Fix an overly general check in SimplifyIndvar to handle useless phi cycles. 2011-11-17 23:36:35 +00:00
polly RegisterPass: Disable Polly by default 2011-11-17 19:10:48 +00:00