diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2025-12-06 19:56:45 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2025-12-06 20:08:43 +0000 |
| commit | 3f709e42e3be0f28a88ca3e77663a02b52c914f4 (patch) | |
| tree | 948796bf3bf7e164373caf6c31f9f128ca85fd8c /llvm/lib/Target/AVR/AVRShiftExpand.cpp | |
| parent | 32a711e1c447004eb1fd015925f305ed1d8426de (diff) | |
Diffstat (limited to 'llvm/lib/Target/AVR/AVRShiftExpand.cpp')
| -rw-r--r-- | llvm/lib/Target/AVR/AVRShiftExpand.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/AVR/AVRShiftExpand.cpp b/llvm/lib/Target/AVR/AVRShiftExpand.cpp index f549ae62c8b2..46103bd2b5dd 100644 --- a/llvm/lib/Target/AVR/AVRShiftExpand.cpp +++ b/llvm/lib/Target/AVR/AVRShiftExpand.cpp @@ -52,7 +52,8 @@ bool AVRShiftExpand::runOnFunction(Function &F) { if (!I.isShift()) // Only expand shift instructions (shl, lshr, ashr). continue; - if (I.getType() == Type::getInt8Ty(Ctx) || I.getType() == Type::getInt16Ty(Ctx)) + if (I.getType() == Type::getInt8Ty(Ctx) || + I.getType() == Type::getInt16Ty(Ctx)) // Only expand non-8-bit and non-16-bit shifts, since those are expanded // directly during isel. continue; |
