This removes a call to getScalarType from a bunch of call sites.
It also makes the behavior consistent with SIGN_EXTEND_INREG.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Being consistent with SIGN_EXTEND_INREG is a good argument. LGTM with clang-format issues fixed.
llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | ||
---|---|---|
3536 | I'm a little surprised you decided to remove the call to getZeroExtendInReg here. I guess it makes sense when the type you're extending from doesn't naturally exist otherwise. |
clang-format not found in user's PATH; not linting file.