[PATCH] D158291: [PoC][WIP] Add an AArch64 specific pass for loop idiom recognition

David Sherwood via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 8 06:39:46 PDT 2023


david-arm updated this revision to Diff 556252.
david-arm added a comment.

- Added more checks that the icmp predicates are correct (EQ) and ensure that the true/false block ordering for the branches are what we expect.
- Added more negative test cases for bad icmps, bad branches and bad load types.


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

https://reviews.llvm.org/D158291

Files:
  llvm/include/llvm/CodeGen/TargetLowering.h
  llvm/include/llvm/IR/Intrinsics.td
  llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  llvm/lib/Passes/PassBuilderPipelines.cpp
  llvm/lib/Target/AArch64/AArch64.h
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.h
  llvm/lib/Target/AArch64/AArch64LoopIdiomRecognize.cpp
  llvm/lib/Target/AArch64/AArch64LoopIdiomRecognize.h
  llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
  llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
  llvm/lib/Target/AArch64/AArch64TargetMachine.h
  llvm/lib/Target/AArch64/CMakeLists.txt
  llvm/test/CodeGen/AArch64/intrinsic-cttz-elts.ll
  llvm/test/Other/new-pm-defaults.ll
  llvm/test/Transforms/LoopIdiom/AArch64/byte-compare-index.ll
  llvm/test/Transforms/PhaseOrdering/ARM/arm_mean_q7.ll
  llvm/utils/gn/secondary/llvm/lib/Target/AArch64/BUILD.gn

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158291.556252.patch
Type: text/x-patch
Size: 141061 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230908/6c904fac/attachment-0001.bin>


More information about the llvm-commits mailing list