This allows the instruction selector to realize that it can directly
broadcast the low byte of the memset value, rather than replicating
it to a 64-bit GPR before broadcasting.
This fixes PR50985.
Paths
| Differential D108354
Use v16i8 rather than v2i64 as the VT for memset expansion on AArch64. ClosedPublic Authored by resistor on Aug 19 2021, 1:06 AM.
Details Summary This allows the instruction selector to realize that it can directly This fixes PR50985.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Aug 19 2021, 1:32 AM Closed by commit rG06a4c858901d: Use v16i8 rather than v2i64 as the VT for memset expansion on AArch64. (authored by resistor). · Explain WhyAug 19 2021, 9:54 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 367417 llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/test/CodeGen/AArch64/memset.ll
|