mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-06 04:09:04 +00:00
turns out, demotion and invokes and critical edges don't mix
llvm-svn: 24487
This commit is contained in:
parent
8b7596a557
commit
939cd99914
@ -34,6 +34,10 @@ namespace {
|
||||
|
||||
struct RegToMem : public FunctionPass {
|
||||
|
||||
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
|
||||
AU.addRequiredID(BreakCriticalEdgesID);
|
||||
}
|
||||
|
||||
bool valueEscapes(Instruction* i) {
|
||||
BasicBlock* bb = i->getParent();
|
||||
for(Value::use_iterator ii = i->use_begin(), ie = i->use_end();
|
||||
|
Loading…
x
Reference in New Issue
Block a user