1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-24 05:23:45 +02:00
llvm-mirror/lib/Target/PowerPC/MCTargetDesc
Hiroshi Inoue 4a193c9d63 [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
2017-07-27 08:14:48 +00:00
..
CMakeLists.txt
LLVMBuild.txt
PPCAsmBackend.cpp Fully fix the movw/movt addend. 2017-07-11 23:18:25 +00:00
PPCELFObjectWriter.cpp Sort the remaining #include lines in include/... and lib/.... 2017-06-06 11:49:48 +00:00
PPCFixupKinds.h Don't repeat name in comment and format. NFC. 2017-06-28 17:23:13 +00:00
PPCMachObjectWriter.cpp Reuse existing variable. NFC. 2017-06-28 18:24:02 +00:00
PPCMCAsmInfo.cpp Distinguish between code pointer size and DataLayout::getPointerSize() in DWARF info generation 2017-04-17 17:41:25 +00:00
PPCMCAsmInfo.h
PPCMCCodeEmitter.cpp [PowerPC] Ensure displacements for DQ-Form instructions are multiples of 16 2017-07-13 18:17:10 +00:00
PPCMCExpr.cpp Sort the remaining #include lines in include/... and lib/.... 2017-06-06 11:49:48 +00:00
PPCMCExpr.h
PPCMCTargetDesc.cpp Move Object format code to lib/BinaryFormat. 2017-06-07 03:48:56 +00:00
PPCMCTargetDesc.h
PPCPredicates.cpp
PPCPredicates.h [PowerPC] enable optimizeCompareInstr for branch with static branch hint 2017-07-27 08:14:48 +00:00