[all-commits] [llvm/llvm-project] 7e0fd7: [PowerPC] Fix %llvm.ppc.altivec.vc* lowering
Tsung-Chun Lin via All-commits
all-commits at lists.llvm.org
Sun Dec 15 18:18:34 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 7e0fd77645cf6eae1994b255a307b016180c8a83
https://github.com/llvm/llvm-project/commit/7e0fd77645cf6eae1994b255a307b016180c8a83
Author: Jim Lin <tclin914 at gmail.com>
Date: 2019-12-16 (Mon, 16 Dec 2019)
Changed paths:
M llvm/lib/Target/PowerPC/PPCInstrAltivec.td
A llvm/test/CodeGen/PowerPC/pr44239.ll
Log Message:
-----------
[PowerPC] Fix %llvm.ppc.altivec.vc* lowering
Summary:
r372285 changed LLVM to use a `TargetConstant` for parameters of intrinsics that are required to be immediates.
Since that commit, use of `%llvm.ppc.altivec.vc{fsx,fux,tsxs,tuxs}` intrinsics has not worked, and resulted in a `LLVM ERROR: Cannot select: intrinsic %llvm.ppc.altivec.vc*` error. The intrinsics' TableGen definitions matched on `imm` instead of `timm`.
This commit updates those definitions to use `timm`.
Fixes: https://llvm.org/PR44239
Reviewers: hfinkel, nemanjai, #powerpc, Jim
Reviewed By: Jim
Subscribers: qiucf, wuzish, Jim, hiraditya, kbarton, jsji, shchenz, llvm-commits
Tags: #llvm
Patched by vddvss (Colin Samples).
Differential Revision: https://reviews.llvm.org/D71138
More information about the All-commits
mailing list