diff options
author | Craig Topper <craig.topper@intel.com> | 2018-04-12 06:51:58 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2018-04-12 06:51:58 +0000 |
commit | 46300d1ff66d2d3ea4deb48cb5f304b16382867f (patch) | |
tree | 215f1d8160147e3098c7c733bdd8e6e2a6a65345 /llvm/lib/CodeGen/MachineScheduler.cpp | |
parent | 10e590e950b80dd1cef95c5ec3cfc11b513343da (diff) | |
download | llvm-46300d1ff66d2d3ea4deb48cb5f304b16382867f.zip llvm-46300d1ff66d2d3ea4deb48cb5f304b16382867f.tar.gz llvm-46300d1ff66d2d3ea4deb48cb5f304b16382867f.tar.bz2 |
[LegalizeTypes] Remove unnecessary type action check on the type of operand 0 when promoting shift result type. NFC
Operand 0 should have the same type of the result. So if the result type needs to be promoted, operand 0 needs to be promoted unconditionally.
llvm-svn: 329883
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions