summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/SimplifyCFG.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2016-09-11 06:00:15 +0000
committerCraig Topper <craig.topper@gmail.com>2016-09-11 06:00:15 +0000
commit1f81deee1fb8bbdece6245bc898ac08ab941b55c (patch)
treeee9a37bed15bc03fa1fad0d99f8cfad5cbc512f1 /llvm/lib/Transforms/Utils/SimplifyCFG.cpp
parent3639cda748bdd6636627fd9c922150a33281a814 (diff)
downloadbcm5719-llvm-1f81deee1fb8bbdece6245bc898ac08ab941b55c.tar.gz
bcm5719-llvm-1f81deee1fb8bbdece6245bc898ac08ab941b55c.zip
[CodeGen] Make the TwoAddressInstructionPass check if the instruction is commutable before calling findCommutedOpIndices for every operand. Also make sure the operand is a register before each call to save some work on commutable instructions that might have an operand.
llvm-svn: 281158
Diffstat (limited to 'llvm/lib/Transforms/Utils/SimplifyCFG.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud