1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
llvm-mirror/test
Hiroshi Inoue a1abfc12f3 [PowerPC] optimize conditional branch on CRSET/CRUNSET
This patch adds a check to optimize conditional branch (BC and BCn) based on a constant set by CRSET or CRUNSET.
Other optimizers, such as block placement, may generate such code and hence
I do this at the very end of the optimization in pre-emit peephole pass.

A conditional branch based on a constant is eliminated or converted into unconditional branch. 
Also CRSET/CRUNSET is eliminated if the condition code register is not used
by instruction other than the branch to be optimized.

Differential Revision: https://reviews.llvm.org/D52345

llvm-svn: 343100
2018-09-26 12:32:45 +00:00
..
Analysis [LV][LAA] Vectorize loop invariant values stored into loop invariant address 2018-09-25 20:57:20 +00:00
Assembler [ThinLTO] Efficiency fix for writing type id records in per-module indexes 2018-09-25 20:14:40 +00:00
Bindings
Bitcode Fix some missing opcodes in bcanalyzer 2018-09-24 12:47:17 +00:00
BugPoint
CodeGen [PowerPC] optimize conditional branch on CRSET/CRUNSET 2018-09-26 12:32:45 +00:00
DebugInfo [DebugInfo] Do not generate address info for removed debug labels. 2018-09-26 04:19:23 +00:00
Demangle
Examples
ExecutionEngine Revert r343058 "[ORC] Add support for multithreaded compiles to LLJIT and LLLazyJIT." 2018-09-26 12:15:23 +00:00
Feature
FileCheck
Instrumentation [hwasan] Record and display stack history in stack-based reports. 2018-09-24 23:03:34 +00:00
Integer
JitListener
Linker Fix asserts when linking wrong address space declarations 2018-09-24 04:42:14 +00:00
LTO Pass code-model through Module IR to LTO which will use it. 2018-09-21 18:41:31 +00:00
MC [WebAssembly] SIMD conversions 2018-09-26 00:34:36 +00:00
Object
ObjectYAML
Other [New PM][PassInstrumentation] IR printing support for New Pass Manager 2018-09-24 16:08:15 +00:00
SafepointIRVerifier
SymbolRewriter
TableGen [globalisel][tblgen] Table optimization should consider the C++ code in C++ predicates 2018-09-25 17:59:02 +00:00
ThinLTO/X86 [ThinLTO] Write TYPE_IDs for types used in functions imported by aliases 2018-09-19 18:51:42 +00:00
tools [llvm-exegesis] Serializes registers initial values. 2018-09-25 15:15:54 +00:00
Transforms [CodeGen] Enable tail calls for functions with NonNull attributes. 2018-09-26 10:46:18 +00:00
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt [llvm-exegesis] Add lit tests (v2). 2018-09-25 13:59:35 +00:00
lit.cfg.py [llvm-exegesis] Add lit tests (v2). 2018-09-25 13:59:35 +00:00
lit.site.cfg.py.in
TestRunner.sh