diff options
| author | Hiroshi Inoue <inouehrs@jp.ibm.com> | 2017-07-27 08:14:48 +0000 |
|---|---|---|
| committer | Hiroshi Inoue <inouehrs@jp.ibm.com> | 2017-07-27 08:14:48 +0000 |
| commit | 967dc58ac10552a7910fb00a31adb0d9978c632d (patch) | |
| tree | 979e6fab1b8f6b1576f4adca7345c72144b3b465 /llvm/test/YAMLParser/more-floats.test | |
| parent | 81467738457e5fc064537a6438400a2d7b32343b (diff) | |
| download | bcm5719-llvm-967dc58ac10552a7910fb00a31adb0d9978c632d.tar.gz bcm5719-llvm-967dc58ac10552a7910fb00a31adb0d9978c632d.zip | |
[PowerPC] enable optimizeCompareInstr for branch with static branch hint
In optimizeCompareInstr, a compare instruction is eliminated by using a record form instruction if possible.
If the branch instruction that uses the result of the compare has a static branch hint, the optimization does not happen.
This patch makes this optimization happen regardless of the branch hint by splitting branch hint and branch condition before checking the predicate to identify the possible optimizations.
Differential Revision: https://reviews.llvm.org/D35801
llvm-svn: 309255
Diffstat (limited to 'llvm/test/YAMLParser/more-floats.test')
0 files changed, 0 insertions, 0 deletions

