llvm-6502/test
Matthias Braun 7839b00d43 X86: Rework inline asm integer register specification.
This is a new version of http://reviews.llvm.org/D10260.

It turned out that when you specify an integer register in inline asm on
x86 you get the register of the required type size back. That means that
X86TargetLowering::getRegForInlineAsmConstraint() has to accept any of
the integer registers and adapt its size to the given target size which
may be any 8/16/32/64 bit sized type. Surprisingly that means given a
constraint of "{ax}" and a type of MVT::F32 we need to return X86::EAX.

This change makes this face explicit, the previous code seemed like
working by accident because there it never returned an error once a
register was found. On the other hand this rewrite allows to actually
return errors for invalid situations like requesting an integer register
for an i128 type.

Related to rdar://21042280

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241002 91177308-0d34-0410-b5e6-96231b3b80d8
2015-06-29 21:35:51 +00:00
..
Analysis [LAA] Try to prove non-wrapping of pointers if SCEV cannot 2015-06-26 17:25:43 +00:00
Assembler
Bindings
Bitcode
BugPoint
CodeGen X86: Rework inline asm integer register specification. 2015-06-29 21:35:51 +00:00
DebugInfo Revert "Debug Info: One more bitfield bugfix. While yesterday's r240853 fixed" 2015-06-27 21:55:00 +00:00
ExecutionEngine
Feature
FileCheck
Instrumentation [asan] Do not instrument special purpose LLVM sections. 2015-06-25 23:35:48 +00:00
Integer
JitListener
LibDriver
Linker
LTO
MC AVX-512: all forms of SCATTER instruction on SKX, 2015-06-29 12:14:24 +00:00
Object Factor out the checking of string tables. 2015-06-29 14:39:25 +00:00
Other
SymbolRewriter
TableGen
tools Pass -m to the linker in this test. 2015-06-23 18:04:54 +00:00
Transforms [LoopSimplify] Set proper debug location in loop backedge blocks. 2015-06-29 21:30:14 +00:00
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg
lit.site.cfg.in
Makefile
Makefile.tests
TestRunner.sh