| commit | a3181e2d79c831c310914b4b3e2786bf914b68ab | [log] [tgz] |
|---|---|---|
| author | Owen Anderson <resistor@mac.com> | Tue Sep 28 21:57:50 2010 +0000 |
| committer | Owen Anderson <resistor@mac.com> | Tue Sep 28 21:57:50 2010 +0000 |
| tree | 749db0b23e708a9641ee2b6ae89c2be7bba444f1 | |
| parent | 953b1afd5f9bedea3d180c71792dbb285d031a27 [diff] |
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