diff options
author | Owen Anderson <resistor@mac.com> | 2010-09-28 21:57:50 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2010-09-28 21:57:50 +0000 |
commit | a3181e2d79c831c310914b4b3e2786bf914b68ab (patch) | |
tree | 749db0b23e708a9641ee2b6ae89c2be7bba444f1 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 953b1afd5f9bedea3d180c71792dbb285d031a27 (diff) | |
download | llvm-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