[PATCH] D109631: [HardwareLoops] Loop guard intrinsic to recognise zext

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 11 11:37:38 PDT 2021


dmgreen added a comment.

> The int_loop.ll example compiles to a hardware loop with ARM's WLS instruction, while short_loop.ll does not and includes a loop guard. With this patch the short_loop.ll example also compiles to a WLS loop since the loop guard intrinsic is used.

Can you add a test then?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D109631



More information about the llvm-commits mailing list