[ARM] Assert that ARMDAGToDAGISel creates valid UBFX/SBFX nodes.
authorEli Friedman <efriedma@codeaurora.org>
Thu, 28 Jun 2018 21:49:41 +0000 (21:49 +0000)
committerEli Friedman <efriedma@codeaurora.org>
Thu, 28 Jun 2018 21:49:41 +0000 (21:49 +0000)
commit65d885e376adc5d1ed6de0e924994574e1ec564d
tree2e178857f00ee27440b010acc9877abbeb2f630e
parent0c5d3ffbb84027c5046c19bb76edebce64a2bc73
[ARM] Assert that ARMDAGToDAGISel creates valid UBFX/SBFX nodes.

We don't ever check these again (unless you're using
-fno-integrated-as), so make sure the extracted bits are well-defined.

I don't think it's possible to trigger any of the assertions on trunk,
but it's difficult to prove.  (The first one depends on DAGCombine to
minimize the number of set bits in AND masks; I think the others are
mathematically impossible to hit.)

llvm-svn: 335931
llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp