OSDN Git Service

Check register class matching instead of width of type matching
authorEric Christopher <echristo@apple.com>
Thu, 14 Jul 2011 20:13:52 +0000 (20:13 +0000)
committerEric Christopher <echristo@apple.com>
Thu, 14 Jul 2011 20:13:52 +0000 (20:13 +0000)
commit5427edeb68d653ced860ed14f83848ebbb01b64b
treeb01308b66fc14e73a28e086772afbe5487869674
parentc83d504085c17697f2a24d0a9fbad4503105ec41
Check register class matching instead of width of type matching
when determining validity of matching constraint. Allow i1
types access to the GR8 reg class for x86.

Fixes PR10352 and rdar://9777108

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135180 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
lib/CodeGen/SelectionDAG/TargetLowering.cpp
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/inline-asm.ll