1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/lib
Philip Reames 01f52927e7 Broaden the definition of a "widenable branch"
As a reminder, a "widenable branch" is the pattern "br i1 (and i1 X, WC()), label %taken, label %untaken" where "WC" is the widenable condition intrinsics. The semantics of such a branch (derived from the semantics of WC) is that a new condition can be added into the condition arbitrarily without violating legality.

Broaden the definition in two ways:
    Allow swapped operands to the br (and X, WC()) form
    Allow widenable branch w/trivial condition (i.e. true) which takes form of br i1 WC()

The former is just general robustness (e.g. for X = non-instruction this is what instcombine produces). The later is specifically important as partial unswitching of a widenable range check produces exactly this form above the loop.

Differential Revision: https://reviews.llvm.org/D70502
2019-11-21 10:46:16 -08:00
..
Analysis Broaden the definition of a "widenable branch" 2019-11-21 10:46:16 -08:00
AsmParser [IR] Redefine Freeze instruction 2019-11-12 10:49:00 +09:00
BinaryFormat [AMDGPU] add support for hostcall buffer pointer as hidden kernel argument 2019-11-20 15:53:55 +05:30
Bitcode Fix error message missed in commit dde589389fcb8b5098f7a47f1b781b27d29a0cac. 2019-11-18 16:04:09 -08:00
Bitstream
CodeGen [BranchFolding] Fix PR43964 about branch folder not being debug invariant 2019-11-21 18:13:32 +01:00
DebugInfo [Debuginfo][NFC] removes redundant semicolon. 2019-11-21 16:16:24 +03:00
Demangle [demangle] NFC: get rid of NodeOrString 2019-11-04 12:17:12 -08:00
ExecutionEngine [Orc][Modules] Fix Modules build fallout from a34680a33eb. 2019-11-20 17:34:34 -08:00
Fuzzer
FuzzMutate
IR [DebugInfo] Refactor DIExpression [SZ]Ext creation into function [NFC] 2019-11-21 10:44:04 +01:00
IRReader
LineEditor
Linker [IRMover] Set Address Space for moved global values 2019-11-05 16:32:48 -08:00
LTO [LTO][Legacy] Add API for passing LLVM options separately 2019-11-19 16:30:37 -08:00
MC [AIX][XCOFF] Write Function descriptors and TOC base to data section 2019-11-19 16:11:00 +00:00
MCA
Object The patch is the compiler error specific on the compile error on CMVC 2019-11-19 15:17:56 -05:00
ObjectYAML Recommit "[DWARF] Add an api to get "interpreted" location lists" 2019-11-20 16:24:11 +01:00
Option
Passes [SVFS] Inject TLI Mappings in VFABI attribute. 2019-11-15 18:42:56 +00:00
ProfileData
Remarks Remarks - fix static analyzer warnings. NFCI. 2019-11-09 13:01:05 +00:00
Support Statistic - Fix MSVC shadow warning against global PrintOnExit static variable. NFC. 2019-11-21 12:08:01 +00:00
TableGen Tablegen: Remove the error for duplicate include files. 2019-11-20 18:24:10 -08:00
Target [Hexagon] Remove incorrect intrinsic definition and invalid testcase 2019-11-21 09:18:15 -06:00
Testing
TextAPI
ToolDrivers
Transforms Broaden the definition of a "widenable branch" 2019-11-21 10:46:16 -08:00
WindowsManifest
XRay [llvm-xray] Add AArch64 to llvm-xray extract 2019-11-08 06:37:47 -08:00
CMakeLists.txt
LLVMBuild.txt