[SystemZ] Add a structure to represent a selected comparison
authorRichard Sandiford <rsandifo@linux.vnet.ibm.com>
Fri, 13 Dec 2013 15:28:45 +0000 (15:28 +0000)
committerRichard Sandiford <rsandifo@linux.vnet.ibm.com>
Fri, 13 Dec 2013 15:28:45 +0000 (15:28 +0000)
commit467a3f9b3f527a86694e228c536e82bc768e2aef
treeedd2d20d0d3559b44421ad4c005d01a279a7981a
parent204537e25ebd13e5386c3ed6f62a160c7aa8390c
[SystemZ] Add a structure to represent a selected comparison

...in an attempt to rein back the increasingly complex selection code.
A knock-on effect is that ICmpType is exposed from the outset, which
slightly simplifies adjustSubwordCmp.

The code is no piece of art even after this change, but at least it should
be slightly better.  No behavioral change intended.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197235 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/SystemZ/SystemZISelLowering.cpp