diff options
author | Bill Wendling <isanbard@gmail.com> | 2007-12-08 07:17:56 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2007-12-08 07:17:56 +0000 |
commit | 0aba3ab898632efa8f4da6f2cbd3eb35bbe2dd24 (patch) | |
tree | 1a00b2417e9e4f4875214abcece0477e236f50c4 /lib/CodeGen/MachineLICM.cpp | |
parent | 9e4556dbe5cdaa423e247cb19fac2da3b23a7b01 (diff) | |
download | external_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.cpp | 2 |
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) || |