Saves one instruction for signed, uses a cheaper instruction for unsigned.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Sounds good to me. Is the fast ISel mostly updated to keep the test insync? I know that code less, but it seems OK to me.
llvm/lib/Target/AArch64/AArch64FastISel.cpp | ||
---|---|---|
3684 | Apparently we prefer "Register" now, over unsigned. |
Comment Actions
Yes. In retrospect, maybe I should have just updated the test instead, but the change wasn't too complicated.
clang-tidy: warning: variable 'MulSubReg' declared as 'unsigned int'; use 'Register' instead [llvm-prefer-register-over-unsigned]
not useful