diff options
author | Craig Topper <craig.topper@gmail.com> | 2017-05-12 18:18:57 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2017-05-12 18:18:57 +0000 |
commit | 06da0816fdea8fae5460fd177f6378fa403795d0 (patch) | |
tree | b935f1f4cad6db2d09da5d697efbd67a8c12bc03 /llvm/lib/CodeGen/CodeGen.cpp | |
parent | 3041982dd18f1877fc44ad76e45d7d93957e9212 (diff) | |
download | llvm-06da0816fdea8fae5460fd177f6378fa403795d0.zip llvm-06da0816fdea8fae5460fd177f6378fa403795d0.tar.gz llvm-06da0816fdea8fae5460fd177f6378fa403795d0.tar.bz2 |
[APInt] Remove unnecessary checks of rhsWords==1 with lhsWords==1 from udiv and udivrem. NFC
At this point in the code rhsWords is guaranteed to be non-zero and less than or equal to lhsWords. So if lhsWords is 1, rhsWords must also be 1. urem alread had the check removed so this makes all 3 consistent.
llvm-svn: 302930
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions