[x86] Prevent llvm.x86.cmp.ps/pd/ss/sd from being selected with bad immediates. The...
authorCraig Topper <craig.topper@gmail.com>
Sat, 27 Dec 2014 18:10:56 +0000 (18:10 +0000)
committerCraig Topper <craig.topper@gmail.com>
Sat, 27 Dec 2014 18:10:56 +0000 (18:10 +0000)
commitacc73445b7feb1a1ed59dd10a2e0d83e1a893722
tree4d54b631ab7167389c6032ea13cc8938ac864aed
parent8438b086630f34c7baacf69c51186d4db3447012
[x86] Prevent llvm.x86.cmp.ps/pd/ss/sd from being selected with bad immediates. The frontend now checks this when the builtin is used. This will allow the instruction printer to not have to deal with invalid immediates on these instructions.

llvm-svn: 224885
llvm/lib/Target/X86/X86InstrInfo.td
llvm/lib/Target/X86/X86InstrSSE.td