diff options
author | Chris Lattner <sabre@nondot.org> | 2004-03-18 17:01:26 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-03-18 17:01:26 +0000 |
commit | ab18020cbd52d3fee2b1b05eeb26c420ac09e9d6 (patch) | |
tree | fe956b3439f4227f2eaece81e8b70a06bce18b7e | |
parent | d5fc4fcecfa87b809194398ff09247dcdb9b38a2 (diff) | |
download | external_llvm-ab18020cbd52d3fee2b1b05eeb26c420ac09e9d6.zip external_llvm-ab18020cbd52d3fee2b1b05eeb26c420ac09e9d6.tar.gz external_llvm-ab18020cbd52d3fee2b1b05eeb26c420ac09e9d6.tar.bz2 |
Malloc doesn't kill a load. This patch need not go into 1.2 though.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12500 91177308-0d34-0410-b5e6-96231b3b80d8
-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 e631fdb..6ab9504 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 e631fdb..6ab9504 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: |