[PATCH] D121085: [AArch64][GlobalISel] Implement G_SELECT translate to min/max/abs

Amara Emerson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 7 16:43:12 PST 2022


aemerson added reviewers: arsenm, paquette, foad.
aemerson added subscribers: foad, arsenm.
aemerson added a comment.
Herald added a subscriber: wdng.

Thanks for the patch. Unfortunately I see the code that this was ported from in SelectionDAGBuilder does the optimization there because it relies on ValueTracking's `matchSelectPattern()` infrastructure. @arsenm @foad do you think it's worth it here to replicate that functionality for generic MIR so we can avoid adding this to the IRTranslator?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D121085



More information about the llvm-commits mailing list