OSDN Git Service

[AArch64] Assert that CCMP isel didn't fail inconsistently.
authorAhmed Bougacha <ahmed.bougacha@gmail.com>
Fri, 22 Jan 2016 19:43:43 +0000 (19:43 +0000)
committerAhmed Bougacha <ahmed.bougacha@gmail.com>
Fri, 22 Jan 2016 19:43:43 +0000 (19:43 +0000)
commit515609118c056e06a0fdd234ce8cc2d3315cb2a3
tree499bad267043b057dc3b92f3c96c903028459457
parentfcb3ff9afd5e71bfc138e382802d60b9c6a145ad
[AArch64] Assert that CCMP isel didn't fail inconsistently.

We verify that the op tree is eligible for CCMP emission in
isConjunctionDisjunctionTree, but it's also possible that
emitConjunctionDisjunctionTree fails later.
The initial check is useful, as it avoids building nodes
that will get discarded.
Still, make sure that inconsistencies don't happen with
an assert.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@258532 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64ISelLowering.cpp