diff options
author | Craig Topper <craig.topper@sifive.com> | 2021-04-07 09:44:52 -0700 |
---|---|---|
committer | Craig Topper <craig.topper@sifive.com> | 2021-04-07 10:03:14 -0700 |
commit | 5fc0e98d9a06e0fdd8cbd8dbf374bc002497db7e (patch) | |
tree | 2d5fa2f64ea5fdc6a5055847e15c0a4e3c26305a /llvm/lib/CodeGen/MachineModuleInfo.cpp | |
parent | 3acf49829c0064d5bcea5d8f6ca032559bf8e73a (diff) | |
download | llvm-5fc0e98d9a06e0fdd8cbd8dbf374bc002497db7e.zip llvm-5fc0e98d9a06e0fdd8cbd8dbf374bc002497db7e.tar.gz llvm-5fc0e98d9a06e0fdd8cbd8dbf374bc002497db7e.tar.bz2 |
[LoopIdiomRecognize] Minor cleanups to the FFS idiom matching. NFC
-Make sure of the CreateShl/LShr/AShr methods that take a uint64_t
instead of creating a ConstantInt for 1 ourselves.
-Use Builder.getInt1 or ConstantInt::getBool instead of a conditional.
-Pull out repeated calls to getType.
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions