[PATCH] D107160: [AArch64] Do not emit an extra zero-extend for i1 argument

Andrew Savonichev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 30 06:11:46 PDT 2021


asavonic updated this revision to Diff 369430.
asavonic edited the summary of this revision.
asavonic added a comment.

Added AArch64ISD::ASSERT_ZEXT_BOOL opcode to avoid legalization issues with AssertZExt.
Added a test case with a call not in the entry block.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D107160

Files:
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.h
  llvm/lib/Target/AArch64/AArch64InstrInfo.td
  llvm/lib/Target/AArch64/GISel/AArch64CallLowering.cpp
  llvm/test/CodeGen/AArch64/GlobalISel/arm64-irtranslator-switch.ll
  llvm/test/CodeGen/AArch64/GlobalISel/arm64-irtranslator.ll
  llvm/test/CodeGen/AArch64/GlobalISel/call-lowering-signext.ll
  llvm/test/CodeGen/AArch64/GlobalISel/call-translator.ll
  llvm/test/CodeGen/AArch64/arm64-aapcs.ll
  llvm/test/CodeGen/AArch64/i1-contents.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107160.369430.patch
Type: text/x-patch
Size: 16345 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210830/a8757b09/attachment.bin>


More information about the llvm-commits mailing list