aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2019-02-09 17:03:59 +0000
committerSanjay Patel <spatel@rotateright.com>2019-02-09 17:03:59 +0000
commit7467510453be40019a746aedfff85909776e7e4f (patch)
tree658359f5d4030bdd806e65a61f5f29b139f3c3bb /llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp
parentf31cf49c587ec1d72c9b93a80bd085640b4d50ca (diff)
downloadllvm-7467510453be40019a746aedfff85909776e7e4f.zip
llvm-7467510453be40019a746aedfff85909776e7e4f.tar.gz
llvm-7467510453be40019a746aedfff85909776e7e4f.tar.bz2
[TargetLowering] add tests to show effect of setcc sub->shift; NFC
There's effectively no difference for the cases with variables. We just trade a sub for an add on those. But the case with a subtract from constant would require an extra move instruction on x86, so this looks like a reasonable generic combine. llvm-svn: 353619
Diffstat (limited to 'llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp')
0 files changed, 0 insertions, 0 deletions