mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
Fix program: SingleSource/UnitTests/2003-07-09-SignedArgs with the CBE
llvm-svn: 7276
This commit is contained in:
parent
5674309dc1
commit
7e3419a91c
@ -91,7 +91,8 @@ namespace {
|
||||
// emit it inline where it would go.
|
||||
if (I.getType() == Type::VoidTy || I.use_size() != 1 ||
|
||||
isa<TerminatorInst>(I) || isa<CallInst>(I) || isa<PHINode>(I) ||
|
||||
isa<LoadInst>(I)) // Don't inline a load across a store!
|
||||
isa<LoadInst>(I) || isa<VarArgInst>(I))
|
||||
// Don't inline a load across a store or other bad things!
|
||||
return false;
|
||||
|
||||
// Only inline instruction it it's use is in the same BB as the inst.
|
||||
|
Loading…
Reference in New Issue
Block a user