llvm-mirror/test
Balaram Makam 93aa5a1614 [InstCombine] Canonicalize icmp instructions based on dominating conditions.
Summary:
    This patch canonicalizes conditions based on the constant range information
    of the dominating branch condition.
    For example:

      %cmp = icmp slt i64 %a, 0
      br i1 %cmp, label %land.lhs.true, label %lor.rhs
      lor.rhs:
        %cmp2 = icmp sgt i64 %a, 0

    Would now be canonicalized into:

      %cmp = icmp slt i64 %a, 0
      br i1 %cmp, label %land.lhs.true, label %lor.rhs
      lor.rhs:
        %cmp2 = icmp ne i64 %a, 0

Reviewers: mcrosier, gberry, t.p.northover, llvm-commits, reames, hfinkel, sanjoy, majnemer

Subscribers: MatzeB, majnemer, mcrosier

Differential Revision: http://reviews.llvm.org/D18841

llvm-svn: 268521
2016-05-04 17:34:20 +00:00
..
Analysis [SCEV] Tweak the output format and content of -analyze 2016-05-03 17:49:57 +00:00
Assembler DebugInfo: Remove MDString-based type references 2016-04-23 21:08:00 +00:00
Bindings [OCaml] Expose the LLVM diagnostic handler 2016-04-10 13:55:53 +00:00
Bitcode [ThinLTO] Use valueid instead of bitcode offsets in combined index file 2016-04-27 13:28:35 +00:00
BugPoint [PR27284] Reverse the ownership between DICompileUnit and DISubprogram. 2016-04-15 15:57:41 +00:00
CodeGen [PowerPC] Generate VSX version of splat word 2016-05-04 16:04:02 +00:00
DebugInfo Reland "Use ScopedPrinter in llvm-pdbdump" 2016-05-04 16:09:04 +00:00
Examples
ExecutionEngine [powerpc] mark JIT tests as UNSUPPORTED on powerpc64 big endian 2016-04-26 03:59:19 +00:00
Feature [NVVM] Remove noduplicate attribute from synchronizing intrinsics. 2016-03-22 22:08:01 +00:00
FileCheck Reapply r262092: [FileCheck] Abort if -NOT is combined with another suffix. 2016-02-29 22:13:03 +00:00
Instrumentation DebugInfo: Remove MDString-based type references 2016-04-23 21:08:00 +00:00
Integer
JitListener [PR27284] Reverse the ownership between DICompileUnit and DISubprogram. 2016-04-15 15:57:41 +00:00
LibDriver LibDriver: Silently do nothing when provided no inputs. 2016-04-13 19:36:04 +00:00
Linker DebugInfo: Remove MDString-based type references 2016-04-23 21:08:00 +00:00
LTO LTO: Don't bother trying to mangle unnamed globals, as they can't be preserved with MustPreserveSymbols. 2016-04-27 23:48:11 +00:00
MC [mips][ias] Only round section sizes when explicitly requested. 2016-05-04 13:21:06 +00:00
Object Produce another specific error message for a malformed Mach-O file when a load 2016-05-03 23:13:50 +00:00
Other Add opt-bisect support to additional passes that can be skipped 2016-05-03 22:32:30 +00:00
SymbolRewriter
TableGen Introduce a "patchable-function" function attribute 2016-04-19 05:24:47 +00:00
ThinLTO/X86 ThinLTO: do not import function whose linkage prevents inlining. 2016-05-03 00:27:28 +00:00
tools [llvm-readobj] Print MIPS .MIPS.options section content 2016-05-04 05:58:57 +00:00
Transforms [InstCombine] Canonicalize icmp instructions based on dominating conditions. 2016-05-04 17:34:20 +00:00
Unit Replace hardcoded comment at 'lit.site.cfg.in' 2016-04-16 06:47:41 +00:00
Verifier Verifier: Verify that each inlinable callsite of a debug-info-bearing function 2016-04-24 22:23:13 +00:00
YAMLParser
.clang-format
CMakeLists.txt Moving llvm-test-depends and test-depends into the Tests folder; NFC, this simply cleans up the generated solution so that these targets don't live in the root folder of the IDE. 2016-04-12 15:09:14 +00:00
lit.cfg Add llvm-pdbdump to the tool substitutions list in lit. NFC. 2016-05-02 16:51:26 +00:00
lit.site.cfg.in Replace hardcoded comment at 'lit.site.cfg.in' 2016-04-16 06:47:41 +00:00
TestRunner.sh