OSDN Git Service

[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)
commitc279de70f628db9c7fa2534ada27da77bc4a95e2
treeffe0c89d093d3d23b672d8c23b965df20c46403d
parent8562c439b444016e531d2e18d8a20fcfb68391b6
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@337400 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/AArch64/lack-of-signed-truncation-check.ll
test/CodeGen/AArch64/signed-truncation-check.ll
test/CodeGen/X86/lack-of-signed-truncation-check.ll
test/CodeGen/X86/signed-truncation-check.ll