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 | 08690a146f893bada66845b45168816aecce59e4 (patch) | |
tree | 55afc9d2c68d033c823de375780752df8a523d43 /clang/lib/Sema/SemaDecl.cpp | |
parent | 3553bb384b6474080499c369df73bdaa1b672ef6 (diff) | |
download | bcm5719-llvm-08690a146f893bada66845b45168816aecce59e4.tar.gz bcm5719-llvm-08690a146f893bada66845b45168816aecce59e4.zip |
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.
llvm-svn: 191600
Diffstat (limited to 'clang/lib/Sema/SemaDecl.cpp')
0 files changed, 0 insertions, 0 deletions