Avoid using XZR/WZR directly as operands to split stores of zero
vectors. Doing so can lead to the XZR/WZR being used by an instruction
that doesn't allow it (e.g. add).
Fixes bug 34674.
Paths
| Differential D38146
[AArch64] Fix bug in store of vector 0 DAGCombine. ClosedPublic Authored by gberry on Sep 21 2017, 10:49 AM.
Details Summary Avoid using XZR/WZR directly as operands to split stores of zero Fixes bug 34674.
Diff Detail
Event TimelineHerald added subscribers: kristof.beyls, eraman, javed.absar and 2 others. · View Herald TranscriptSep 21 2017, 10:49 AM efriedma added inline comments. This revision is now accepted and ready to land.Sep 21 2017, 11:33 AM Comment Actions Thanks Eli.
Closed by commit rL313916: [AArch64] Fix bug in store of vector 0 DAGCombine. (authored by gberry). · Explain WhySep 21 2017, 2:11 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 116223 lib/Target/AArch64/AArch64ISelLowering.cpp
test/CodeGen/AArch64/arm64-memset-inline.ll
test/CodeGen/AArch64/fastcc.ll
test/CodeGen/AArch64/ldst-opt.ll
|
I think you can use the entry node as the chain operand, rather than the store's chain?