llvm-mirror/test
Dylan McKay 5892dcede7 [AVR] Fix the 'avr-tiny.ll' and 'avr25.ll' subtarget feature tests
When these tests were originally written, the middle end would introduce
an unnecessary copy from r24:r23->GPR16->r24:r23, and these tests
mistakenly relied on it.

The most optimal codegen for the functions in the test cases before this patch
would be NOPs. This is because the first i16 argument always gets the same register
allocation as an i16 return value in the AVR calling convention.

These tests broke in r362963 when the codegen was improved and the
redundant copy was eliminated. After this, the test functions
were lowered to their optimal form - a 'ret' and nothing else.

This patch prepends an extra i16 operand to each of the test functions
so that a 16-bit copy must be inserted for the program to be correct.

llvm-svn: 363131
2019-06-12 08:31:07 +00:00
..
Analysis [MemorySSA] When applying updates, clean unnecessary Phis. 2019-06-11 19:09:34 +00:00
Assembler Change semantics of fadd/fmul vector reductions. 2019-06-11 08:22:10 +00:00
Bindings Fixed the Bindings/OCaml/core.ml test 2019-05-20 14:06:21 +00:00
Bitcode Change semantics of fadd/fmul vector reductions. 2019-06-11 08:22:10 +00:00
BugPoint
CodeGen [AVR] Fix the 'avr-tiny.ll' and 'avr25.ll' subtarget feature tests 2019-06-12 08:31:07 +00:00
DebugInfo [DebugInfo@O2][LoopVectorize] pr39024: Vectorized code linenos step through loop even after completion 2019-06-11 10:37:20 +00:00
Demangle llvm-undname: Correctly demangle vararg parameters 2019-06-04 19:10:08 +00:00
Examples
ExecutionEngine [ExecutionEngine] Add UnaryOperator visitor to the interpreter 2019-06-10 14:38:48 +00:00
Feature
FileCheck FileCheck [6/12]: Introduce numeric variable definition 2019-06-06 13:21:06 +00:00
Instrumentation [MSAN] Add unary FNeg visitor to the MemorySanitizer 2019-06-05 22:37:05 +00:00
Integer
JitListener
Linker Reapply: IR: add optional type to 'byval' function parameters 2019-05-30 18:48:23 +00:00
LTO
MachineVerifier [GlobalISel] Add a G_JUMP_TABLE opcode. 2019-06-11 19:58:06 +00:00
MC [ARM] Fix a typo in the test from r363039 2019-06-11 13:36:06 +00:00
Object [yaml2obj/obj2yaml] - Make RawContentSection::Content and RawContentSection::Size optional 2019-06-10 12:43:18 +00:00
ObjectYAML
Other [Attributor] Pass infrastructure and fixpoint framework 2019-06-05 03:02:24 +00:00
SafepointIRVerifier
Support
SymbolRewriter
TableGen TableGen: Handle nontrivial foreach range bounds 2019-05-22 21:28:20 +00:00
ThinLTO/X86 [ThinLTO] Use original alias visibility when importing 2019-05-29 16:50:46 +00:00
tools Let writeWindowsResourceCOFF() take a TimeStamp parameter 2019-06-11 11:26:50 +00:00
Transforms Generalize icmp matching in IndVars' eliminateTrunc 2019-06-11 22:43:25 +00:00
Unit
Verifier Revert r361953 "[SVE][IR] Scalable Vector IR Type" 2019-06-09 19:27:50 +00:00
YAMLParser
.clang-format
CMakeLists.txt [tools] Introduce llvm-lipo 2019-05-28 23:22:12 +00:00
lit.cfg.py
lit.site.cfg.py.in
TestRunner.sh