diff options
-rw-r--r-- | lib/Target/X86/InstSelectSimple.cpp | 1 | ||||
-rw-r--r-- | lib/Target/X86/X86ISelSimple.cpp | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/lib/Target/X86/InstSelectSimple.cpp b/lib/Target/X86/InstSelectSimple.cpp index e631fdb6ff..6ab9504597 100644 --- a/lib/Target/X86/InstSelectSimple.cpp +++ b/lib/Target/X86/InstSelectSimple.cpp @@ -1422,7 +1422,6 @@ static bool isSafeToFoldLoadIntoInstruction(LoadInst &LI, Instruction &User) { // really use alias analysis here, but for now we just do something simple. for (++It; It != BasicBlock::iterator(&User); ++It) { switch (It->getOpcode()) { - case Instruction::Malloc: case Instruction::Free: case Instruction::Store: case Instruction::Call: diff --git a/lib/Target/X86/X86ISelSimple.cpp b/lib/Target/X86/X86ISelSimple.cpp index e631fdb6ff..6ab9504597 100644 --- a/lib/Target/X86/X86ISelSimple.cpp +++ b/lib/Target/X86/X86ISelSimple.cpp @@ -1422,7 +1422,6 @@ static bool isSafeToFoldLoadIntoInstruction(LoadInst &LI, Instruction &User) { // really use alias analysis here, but for now we just do something simple. for (++It; It != BasicBlock::iterator(&User); ++It) { switch (It->getOpcode()) { - case Instruction::Malloc: case Instruction::Free: case Instruction::Store: case Instruction::Call: |