[PATCH] D84277: [PowerPC][Power10] Fix vins*vlx instructions to have i32 arguments.

Amy Kwan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 21 16:43:47 PDT 2020


amyk created this revision.
amyk added reviewers: power-llvm-team, nemanjai, PowerPC, rzurob.
amyk added projects: LLVM, clang, PowerPC.
Herald added subscribers: shchenz, hiraditya.

Previously, the vins*vlx instructions were incorrectly defined with i64 as the second argument. 
This patches fixes this issue by correcting the second argument of the vins*vlx instructions/intrinsics to be i32.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D84277

Files:
  clang/include/clang/Basic/BuiltinsPPC.def
  clang/test/CodeGen/builtins-ppc-p10vector.c
  llvm/include/llvm/IR/IntrinsicsPowerPC.td
  llvm/lib/Target/PowerPC/PPCInstrPrefix.td
  llvm/test/CodeGen/PowerPC/builtins-ppc-p10permute.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84277.279664.patch
Type: text/x-patch
Size: 13363 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200721/82a43046/attachment.bin>


More information about the llvm-commits mailing list