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)
commit9cf2679d3bb7272e1a398bf0e4fae59970c666b6
treea19d39768a48dd10c7afeab8644da9817f4c9041
parentfe781977b9974b9669462df2ce8986258a25d080
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.

llvm-svn: 225596
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/x86-inline-asm-validation.ll [new file with mode: 0644]