[PATCH] D92789: [PPC] Check for PPC64 when emitting 64bit specific VSX nodes when pattern matching built vectors
Zarko Todorovski via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 7 14:38:40 PST 2020
ZarkoCA created this revision.
ZarkoCA added reviewers: nemanjai, sfertile, cebowleratibm.
ZarkoCA added a project: LLVM.
Herald added subscribers: shchenz, kbarton, hiraditya.
ZarkoCA requested review of this revision.
Herald added a subscriber: llvm-commits.
Some of the pattern matching in PPCInstrVSX.td and node lowering involving vectors assumes 64bit mode. This patch disables some of the unsafe pattern matching and lowering of BUILD_VECTOR in 32bit mode.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D92789
Files:
llvm/lib/Target/PowerPC/PPCISelLowering.cpp
llvm/lib/Target/PowerPC/PPCInstrVSX.td
llvm/test/CodeGen/PowerPC/ppc-32bit-build-vector.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92789.310025.patch
Type: text/x-patch
Size: 9878 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201207/b98bd999/attachment.bin>
More information about the llvm-commits
mailing list