X86: teach X86TargetLowering about L,M,O constraints
authorSaleem Abdulrasool <compnerd@compnerd.org>
Sun, 11 Jan 2015 04:39:24 +0000 (04:39 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Sun, 11 Jan 2015 04:39:24 +0000 (04:39 +0000)
commit776673ea09ad292dd8acd75e5e25363eed0b6220
tree765da53f4dd99fe6d4df51bcd2511c76859906c3
parent5e3c87ee1a04eb6f9a135734abbd663dbeef3fb3
X86: teach X86TargetLowering about L,M,O constraints

Teach the ISelLowering for X86 about the L,M,O target specific constraints.
Although, for the moment, clang performs constraint validation and prevents
passing along inline asm which may have immediate constant constraints violated,
the backend should be able to cope with the invalid inline asm a bit better.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225596 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/x86-inline-asm-validation.ll [new file with mode: 0644]