diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2013-09-28 02:50:32 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2013-09-28 02:50:32 +0000 |
commit | 8a9879a4481667b18eee4a0f8b254b3810878539 (patch) | |
tree | 46bcefbeb3a0963de9e6c6e2c3fdc82d07369f8b /lib/CodeGen/SelectionDAG/TargetLowering.cpp | |
parent | ba1bc60542a1a4c7ade1a563465328a3fdde1fc7 (diff) | |
download | llvm-8a9879a4481667b18eee4a0f8b254b3810878539.tar.gz llvm-8a9879a4481667b18eee4a0f8b254b3810878539.tar.bz2 llvm-8a9879a4481667b18eee4a0f8b254b3810878539.tar.xz |
SelectionDAG: Clean up LegalizeSetCCCondCode() function
Interpreting the results of this function is not very intuitive, so I
cleaned it up to make it more clear whether or not a SETCC op was
legalized and how it was legalized (either by swapping LHS and RHS or
replacing with AND/OR).
This patch does change functionality in the LHS and RHS swapping case,
but unfortunately there are no in-tree tests for this. However, this
patch is a prerequisite for R600 to take advantage of the LHS and RHS
swapping, so tests will be added in subsequent commits.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191600 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/TargetLowering.cpp')
0 files changed, 0 insertions, 0 deletions