summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-01-06 08:36:04 +0000
committerChris Lattner <sabre@nondot.org>2008-01-06 08:36:04 +0000
commit10324d01754c2848ccfb5b30149bedada6767591 (patch)
tree2a016724aa9efd853a5de6a96f1aef42de28f39d /llvm/lib/CodeGen
parent1694a53c5d632c1859f3f32f8603cafb365c0c4e (diff)
downloadbcm5719-llvm-10324d01754c2848ccfb5b30149bedada6767591.tar.gz
bcm5719-llvm-10324d01754c2848ccfb5b30149bedada6767591.zip
rename isStore -> mayStore to more accurately reflect what it captures.
llvm-svn: 45656
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/BranchFolding.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/BranchFolding.cpp b/llvm/lib/CodeGen/BranchFolding.cpp
index 7e972234658..97491628ee2 100644
--- a/llvm/lib/CodeGen/BranchFolding.cpp
+++ b/llvm/lib/CodeGen/BranchFolding.cpp
@@ -353,7 +353,7 @@ static unsigned EstimateRuntime(MachineBasicBlock::iterator I,
const TargetInstrDescriptor &TID = TII->get(I->getOpcode());
if (TID.Flags & M_CALL_FLAG)
Time += 10;
- else if (TID.Flags & (M_LOAD_FLAG|M_STORE_FLAG))
+ else if (TID.Flags & (M_LOAD_FLAG|M_MAY_STORE_FLAG))
Time += 2;
else
++Time;
OpenPOWER on IntegriCloud