llvm-capstone/llvm/test
Sanjay Patel eaf13044bd [DAGCombiner][x86] prevent infinite loop from truncate/extend transforms
The test case is based on the example from the post-commit thread for:
https://reviews.llvm.org/rGc9171bd0a955

This replaces the x86-specific simple-type check from:
rL367766
with a check in the DAGCombiner. Adding the check isn't
strictly necessary after the fix from:
rL367768
...but it seems likely that we're heading for trouble if
we are creating weird types in this transform.

I combined the earlier legality check into the initial
clause to simplify the code.

So we should only try the trunc/sext transform at the
earliest combine stage, but we limit the transform to
simple types anyway because the TLI hook is probably
too lax about what it considers a free truncate.

llvm-svn: 367834
2019-08-05 11:27:07 +00:00
..
Analysis [MemorySSA] Add additional verification for phis. 2019-07-31 17:41:04 +00:00
Assembler IR: print value numbers for unnamed function arguments 2019-08-03 14:28:34 +00:00
Bindings IR: print value numbers for unnamed function arguments 2019-08-03 14:28:34 +00:00
Bitcode IR: print value numbers for unnamed function arguments 2019-08-03 14:28:34 +00:00
BugPoint
CodeGen [DAGCombiner][x86] prevent infinite loop from truncate/extend transforms 2019-08-05 11:27:07 +00:00
DebugInfo Temporarily Revert "Changing representation of cv_def_range directives in Codeview debug info assembly format for better readability" 2019-08-02 19:10:37 +00:00
Demangle
Examples
ExecutionEngine [JITLink] Fix an overly-wide read in the MachO/x86-64 test case. 2019-08-03 22:38:31 +00:00
Feature IR: print value numbers for unnamed function arguments 2019-08-03 14:28:34 +00:00
FileCheck [FileCheck]] Canonicalize caret location testing 2019-07-24 12:38:29 +00:00
Instrumentation IR: print value numbers for unnamed function arguments 2019-08-03 14:28:34 +00:00
Integer
JitListener
Linker IR: print value numbers for unnamed function arguments 2019-08-03 14:28:34 +00:00
LTO IR: print value numbers for unnamed function arguments 2019-08-03 14:28:34 +00:00
MachineVerifier [Testing] Fix tests that break with read-only checkouts 2019-08-01 06:41:40 +00:00
MC Temporarily Revert "Changing representation of cv_def_range directives in Codeview debug info assembly format for better readability" 2019-08-02 19:10:37 +00:00
Object [llvm/Object] - Add a test for "empty string table" error. 2019-07-31 08:12:01 +00:00
ObjectYAML
Other [NewPassManager] Resolve assertion in CGSCCPassManager when CallCounts change. 2019-08-02 18:37:03 +00:00
SafepointIRVerifier
Support
SymbolRewriter
TableGen [GlobalISel] Check LLT size matches memory size for non-truncating stores. 2019-08-02 23:33:13 +00:00
ThinLTO/X86 IR: print value numbers for unnamed function arguments 2019-08-03 14:28:34 +00:00
tools Revert "[llvm-objdump] Re-commit r367284." 2019-08-05 08:52:28 +00:00
Transforms [InstCombine] Added mempcpy tests [NFC] 2019-08-05 09:58:32 +00:00
Unit
Verifier [FunctionAttrs] Annotate "willreturn" for intrinsics 2019-07-28 06:09:56 +00:00
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg.py
lit.site.cfg.py.in
TestRunner.sh