summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaDecl.cpp
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2013-09-28 02:50:32 +0000
committerTom Stellard <thomas.stellard@amd.com>2013-09-28 02:50:32 +0000
commit08690a146f893bada66845b45168816aecce59e4 (patch)
tree55afc9d2c68d033c823de375780752df8a523d43 /clang/lib/Sema/SemaDecl.cpp
parent3553bb384b6474080499c369df73bdaa1b672ef6 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud