[PATCH] D135852: [AArch64][4/4] Enhance bit-field-positioning op matcher to see through "any_extend" for pattern "and(any_extend(shl(val, N)), shifted-mask)"
Dave Green via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 14 00:59:48 PDT 2022
dmgreen added reviewers: efriedma, t.p.northover.
dmgreen added inline comments.
================
Comment at: llvm/test/CodeGen/AArch64/bitfield-insert.ll:597
+; CHECK-NEXT: // kill: def $w0 killed $w0 killed $x0 def $x0
+; CHECK-NEXT: ubfiz x0, x0, #7, #8
+; CHECK-NEXT: ret
----------------
This is nice. I've seen this come up before. https://godbolt.org/z/hhhTKex4d
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D135852/new/
https://reviews.llvm.org/D135852
More information about the llvm-commits
mailing list