summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Analysis/TargetLibraryInfoTest.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2017-05-12 21:45:44 +0000
committerCraig Topper <craig.topper@gmail.com>2017-05-12 21:45:44 +0000
commit2579c7c69f08330951d947c51f6f6938f0fdc737 (patch)
tree97ed8f03083fd7ae8f71783fb8058f8089e1fbe1 /llvm/unittests/Analysis/TargetLibraryInfoTest.cpp
parent1fa362f8119cab531de85c580a558fa520acc255 (diff)
downloadbcm5719-llvm-2579c7c69f08330951d947c51f6f6938f0fdc737.tar.gz
bcm5719-llvm-2579c7c69f08330951d947c51f6f6938f0fdc737.zip
[APInt] In udivrem, remember the bit width in a local variable so we don't reread it from the LHS which might be aliased with Quotient or Remainder.
This helped the compiler generate better code for the single word case. It was able to remember that the bit width was still a single word when it created the Remainder APInt and not create code for it possibly being multiword. llvm-svn: 302952
Diffstat (limited to 'llvm/unittests/Analysis/TargetLibraryInfoTest.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud