llvm-project/llvm/test
Craig Topper bde2b43cb3 [X86] In EFLAGS copy pass, don't emit EXTRACT_SUBREG instructions since we're after peephole
Normally the peephole pass converts EXTRACT_SUBREG to COPY instructions. But we're after peephole so we can't rely on it to clean these up.

To fix this, the eflags pass now emits a COPY with a subreg input.

I also noticed that in 32-bit mode we need to constrain the input to the copy to ensure the subreg is valid. Otherwise we'll fail verify-machineinstrs

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

llvm-svn: 339945
2018-08-16 21:54:02 +00:00
..
Analysis [ConstantFolding] add tests for funnel shift intrinsics; NFC 2018-08-16 16:10:42 +00:00
Assembler [DebugInfoMetadata] Added DIFlags interface in DIBasicType. 2018-08-14 19:35:34 +00:00
Bindings
Bitcode DebugInfo: Add metadata support for disabling DWARF pub sections 2018-08-16 21:29:55 +00:00
BugPoint [lit, python] Always add quotes around the python path in lit 2018-08-06 22:37:44 +00:00
CodeGen [X86] In EFLAGS copy pass, don't emit EXTRACT_SUBREG instructions since we're after peephole 2018-08-16 21:54:02 +00:00
DebugInfo DebugInfo: Add metadata support for disabling DWARF pub sections 2018-08-16 21:29:55 +00:00
Demangle [MS Demangler] Demangle string literals. 2018-08-16 16:17:36 +00:00
Examples
ExecutionEngine [CMake] Use normalized Windows target triples 2018-08-09 02:16:18 +00:00
Feature
FileCheck [FileCheck] Provide an option for FileCheck to dump original input to stderr on failure 2018-07-20 20:21:57 +00:00
Instrumentation [BFI] Use rounding while computing profile counts. 2018-08-16 00:26:59 +00:00
Integer
JitListener
LTO Enrich inline messages 2018-08-05 14:53:08 +00:00
Linker
MC [MC] Improve COFF associative section lookup 2018-08-16 21:34:41 +00:00
Object [WASM] Fix overflow when reading custom section 2018-08-08 16:34:03 +00:00
ObjectYAML
Other [CMake] Use normalized Windows target triples 2018-08-09 02:16:18 +00:00
SafepointIRVerifier
SymbolRewriter
TableGen [lit, python] Always add quotes around the python path in lit 2018-08-06 22:37:44 +00:00
ThinLTO/X86 [ThinLTO] Fix printing of WPD remarks 2018-08-14 03:00:16 +00:00
Transforms add a missed case for binary op FMF propagation under select folds 2018-08-16 20:59:45 +00:00
Unit
Verifier Recommit r335794 "Add support for generating a call graph profile from Branch Frequency Info." with fix for removed functions. 2018-07-16 00:28:24 +00:00
YAMLParser
tools Add missing test file from r339799. 2018-08-16 19:29:01 +00:00
.clang-format
CMakeLists.txt Make check-llvm depend on llvm-undname 2018-07-20 18:42:19 +00:00
TestRunner.sh
lit.cfg.py [CMake] Use normalized Windows target triples 2018-08-09 02:16:18 +00:00
lit.site.cfg.py.in