aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2010-09-28 21:57:50 +0000
committerOwen Anderson <resistor@mac.com>2010-09-28 21:57:50 +0000
commita3181e2d79c831c310914b4b3e2786bf914b68ab (patch)
tree749db0b23e708a9641ee2b6ae89c2be7bba444f1 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent953b1afd5f9bedea3d180c71792dbb285d031a27 (diff)
downloadllvm-a3181e2d79c831c310914b4b3e2786bf914b68ab.zip
llvm-a3181e2d79c831c310914b4b3e2786bf914b68ab.tar.gz
llvm-a3181e2d79c831c310914b4b3e2786bf914b68ab.tar.bz2
Add a subtarget hook for reporting the misprediction penalty. Use this to provide more precise
cost modeling for if-conversion. Now if only we had a way to estimate the misprediction probability. Adjsut CodeGen/ARM/ifcvt10.ll. The pipeline on Cortex-A8 is long enough that it is still profitable to predicate an ldm, but the shorter pipeline on Cortex-A9 makes it unprofitable. llvm-svn: 114995
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions