aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/MachineLICM.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2007-12-08 07:17:56 +0000
committerBill Wendling <isanbard@gmail.com>2007-12-08 07:17:56 +0000
commit0aba3ab898632efa8f4da6f2cbd3eb35bbe2dd24 (patch)
tree1a00b2417e9e4f4875214abcece0477e236f50c4 /lib/CodeGen/MachineLICM.cpp
parent9e4556dbe5cdaa423e247cb19fac2da3b23a7b01 (diff)
downloadexternal_llvm-0aba3ab898632efa8f4da6f2cbd3eb35bbe2dd24.zip
external_llvm-0aba3ab898632efa8f4da6f2cbd3eb35bbe2dd24.tar.gz
external_llvm-0aba3ab898632efa8f4da6f2cbd3eb35bbe2dd24.tar.bz2
Renaming:
isTriviallyReMaterializable -> hasNoSideEffects isReallyTriviallyReMaterializable -> isTriviallyReMaterializable git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44702 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineLICM.cpp')
-rw-r--r--lib/CodeGen/MachineLICM.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/MachineLICM.cpp b/lib/CodeGen/MachineLICM.cpp
index 1153151..0f8c01c 100644
--- a/lib/CodeGen/MachineLICM.cpp
+++ b/lib/CodeGen/MachineLICM.cpp
@@ -120,7 +120,7 @@ namespace {
if (TID->ImplicitUses || !I.getNumOperands()) return false;
MachineOpCode Opcode = TID->Opcode;
- return TII->isTriviallyReMaterializable(&I) &&
+ return TII->hasNoSideEffects(&I) &&
// FIXME: Below necessary?
!(TII->isReturn(Opcode) ||
TII->isTerminatorInstr(Opcode) ||