[PATCH] D86413: [AArch64][GlobalISel] Optimize away a Not feeding a brcond by using tbz instead of tbnz.

Amara Emerson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 22 23:37:42 PDT 2020


aemerson created this revision.
aemerson added a reviewer: paquette.
aemerson added a project: LLVM.
Herald added subscribers: danielkiss, hiraditya, kristof.beyls, rovka.
aemerson requested review of this revision.

Usually brconds are fed by compares, but not always, in which case we would miss this fold.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D86413

Files:
  llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
  llvm/test/CodeGen/AArch64/GlobalISel/select-brcond-of-not.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86413.287242.patch
Type: text/x-patch
Size: 3769 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200823/eae3801b/attachment.bin>


More information about the llvm-commits mailing list