[x86] Assert on invalid immediates in the instruction printer for cmp.ps/pd/ss/sd...
authorCraig Topper <craig.topper@gmail.com>
Sat, 27 Dec 2014 18:11:00 +0000 (18:11 +0000)
committerCraig Topper <craig.topper@gmail.com>
Sat, 27 Dec 2014 18:11:00 +0000 (18:11 +0000)
commit3e9bf4c0d05f149b3fa3d78127cdaf623f5bdd3c
treed6909ac1f775fb4fb431db77033bf85356ed952b
parent6ba84e58da7e8a3af17a5621554d5f0156b6daeb
[x86] Assert on invalid immediates in the instruction printer for cmp.ps/pd/ss/sd instead of truncating the immediate. The assembly parser and instruction selection shouldn't generate invalid immediates.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224886 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/InstPrinter/X86ATTInstPrinter.cpp
lib/Target/X86/InstPrinter/X86IntelInstPrinter.cpp