[NFC][X86][AArch64] Negative tests for 'check for [no] signed truncation' pattern
authorRoman Lebedev <lebedev.ri@gmail.com>
Fri, 13 Jul 2018 16:14:37 +0000 (16:14 +0000)
committerRoman Lebedev <lebedev.ri@gmail.com>
Fri, 13 Jul 2018 16:14:37 +0000 (16:14 +0000)
commitb64e74feed51c8cb4dc24bf6561bada70e9740e6
tree5174e2c2ac9dfd8f874f971af49d5b7bd418e4c3
parent9e94326185b9c6427ebc86bce00fbf250b3c2150
[NFC][X86][AArch64] Negative tests for 'check for [no] signed truncation' pattern

See D49247, D49266

I'm only adding the sane negative tests, and not
adding the one-use tests yet. Also, not adding
negative tests for the second pattern with inverted operands yet,
since it's handling will be added in later differential.

llvm-svn: 337014
llvm/test/CodeGen/AArch64/lack-of-signed-truncation-check.ll
llvm/test/CodeGen/AArch64/signed-truncation-check.ll
llvm/test/CodeGen/X86/lack-of-signed-truncation-check.ll
llvm/test/CodeGen/X86/signed-truncation-check.ll