diff options
author | Richard Sandiford <rsandifo@linux.vnet.ibm.com> | 2013-10-16 11:10:55 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@linux.vnet.ibm.com> | 2013-10-16 11:10:55 +0000 |
commit | f722a8e30eb48bcdb1cc25e9c62ac5f23de35da8 (patch) | |
tree | add89961106f88319853b4de8c83882324118396 /llvm/lib/Target/SystemZ/SystemZISelLowering.h | |
parent | 374a0e50c4ea267bc98c10aafab3661356231701 (diff) | |
download | bcm5719-llvm-f722a8e30eb48bcdb1cc25e9c62ac5f23de35da8.tar.gz bcm5719-llvm-f722a8e30eb48bcdb1cc25e9c62ac5f23de35da8.zip |
[SystemZ] Improve handling of SETCC
We previously used the default expansion to SELECT_CC, which in turn would
expand to "LHI; BRC; LHI". In most cases it's better to use an IPM-based
sequence instead.
llvm-svn: 192784
Diffstat (limited to 'llvm/lib/Target/SystemZ/SystemZISelLowering.h')
-rw-r--r-- | llvm/lib/Target/SystemZ/SystemZISelLowering.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZISelLowering.h b/llvm/lib/Target/SystemZ/SystemZISelLowering.h index 3f272c3856c..820b6803823 100644 --- a/llvm/lib/Target/SystemZ/SystemZISelLowering.h +++ b/llvm/lib/Target/SystemZ/SystemZISelLowering.h @@ -252,6 +252,7 @@ private: const SystemZTargetMachine &TM; // Implement LowerOperation for individual opcodes. + SDValue lowerSETCC(SDValue Op, SelectionDAG &DAG) const; SDValue lowerBR_CC(SDValue Op, SelectionDAG &DAG) const; SDValue lowerSELECT_CC(SDValue Op, SelectionDAG &DAG) const; SDValue lowerGlobalAddress(GlobalAddressSDNode *Node, |