[NFC][X86][AArch64][DAGCombine] More tests for optimizeSetCCOfSignedTruncationCheck()
authorRoman Lebedev <lebedev.ri@gmail.com>
Wed, 18 Jul 2018 16:19:06 +0000 (16:19 +0000)
committerRoman Lebedev <lebedev.ri@gmail.com>
Wed, 18 Jul 2018 16:19:06 +0000 (16:19 +0000)
commit5317e88300300fb66990ee932beb804ab7993fb0
tree903e980b8c8c667cd333662affb0605b09eaa00a
parent99ea38f42dbbc72adcddd6bc7272ab19e4c1a88f
[NFC][X86][AArch64][DAGCombine] More tests for optimizeSetCCOfSignedTruncationCheck()

At least one of these cases is more canonical,
so we really do have to handle it.
https://godbolt.org/g/pkzP3X
https://rise4fun.com/Alive/pQyh

llvm-svn: 337400
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