[PATCH] D129995: [AArch64] isDesirableToCommuteWithShift - fix UBFX masked shift comment. NFC.

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 18 04:11:17 PDT 2022


RKSimon added a comment.

isDesirableToCommuteWithShift should only ever be called from a shift instruction - it wasn't planned to work the other way as well - I'd be happy to add asserts to the calls like we (mostly) have for shouldFoldConstantShiftPairToMask?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D129995/new/

https://reviews.llvm.org/D129995



More information about the llvm-commits mailing list