llvm-6502/test
Jakob Stoklund Olesen 4a0a18af4a Permit remat of partial register defs when it is safe.
An instruction may define part of a register where the other bits are
undefined. In that case, it is safe to rematerialize the instruction.
For example:

  %vreg2:ssub_0<def> = VLDRS <cp#0>, 0, pred:14, pred:%noreg, %vreg2<imp-def>

The extra <imp-def> operand indicates that the instruction does not read
the other parts of the virtual register, so a remat is safe.

This patch simply allows multiple def operands for the virtual register.
It is MI->readsVirtualRegister() that determines if we depend on a
previous value so remat is impossible.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138953 91177308-0d34-0410-b5e6-96231b3b80d8
2011-09-01 18:27:51 +00:00
..
Analysis
Archive
Assembler Update to the new EH scheme. 2011-08-25 23:48:37 +00:00
Bindings/Ocaml Remove the build_unwind function from the OCaml bindings. 2011-08-10 01:10:17 +00:00
Bitcode
BugPoint
CodeGen Permit remat of partial register defs when it is safe. 2011-09-01 18:27:51 +00:00
DebugInfo Do not use named md nodes to track variables that are completely optimized. This does not scale while doing LTO with debug info. New approach is to include list of variables in the subprogram info directly. 2011-08-19 23:28:12 +00:00
ExecutionEngine Excluding ARM JIT tests until someone can fix this compilation path. 2011-08-26 23:39:30 +00:00
Feature Update tests to the newest EH syntax. 2011-08-25 01:30:18 +00:00
Integer
lib
Linker Use %% for literals in RUN lines. 2011-08-26 20:09:48 +00:00
LLVMC
MC ARM 'rscs' mnemonic is carry-setting 'rsc', not 'rs' with a 'cs' condition code. 2011-09-01 18:22:13 +00:00
Object
Other Update to new EH scheme. 2011-08-31 21:44:24 +00:00
Scripts Fix the bitwidth of the remaining fields. 2011-08-04 17:00:11 +00:00
TableGen Reverted r138652, valgrind doesn't understand obj:*/tblgen. 2011-08-27 06:17:30 +00:00
Transforms Update to new EH scheme. 2011-09-01 01:28:25 +00:00
Unit
Verifier
CMakeLists.txt
lit.cfg Lit option for ignoring stderr output. 2011-08-30 17:42:33 +00:00
lit.site.cfg.in
Makefile
Makefile.tests
site.exp.in
TestRunner.sh