[PATCH] D133327: [AArch64][GlobalISel] When lowering signext i1 parameters, don't zero-extend to s8 first.

Amara Emerson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 5 14:05:37 PDT 2022


aemerson created this revision.
aemerson added reviewers: efriedma, paquette, miyuki, t.p.northover, jroelofs.
aemerson added a project: LLVM.
Herald added subscribers: hiraditya, kristof.beyls, rovka.
Herald added a project: All.
aemerson requested review of this revision.

We were generating different code to SelectionDAG, trying to extend to s8 first as per ABI instead of honoring the IR signext attribute first.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D133327

Files:
  llvm/lib/Target/AArch64/GISel/AArch64CallLowering.cpp
  llvm/test/CodeGen/AArch64/GlobalISel/call-lowering-signext.ll
  llvm/test/CodeGen/AArch64/GlobalISel/call-lowering-zeroext.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133327.458055.patch
Type: text/x-patch
Size: 5997 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220905/9e1be30b/attachment.bin>


More information about the llvm-commits mailing list