aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/TargetParser/TargetParser.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2024-11-25 19:44:47 -0800
committerGitHub <noreply@github.com>2024-11-25 19:44:47 -0800
commit5d650a62a35c2f38b112f5ee930654e678bcd5bb (patch)
tree25dbf08053d4132bb35ebf4a6c23d0204925a9bb /llvm/lib/TargetParser/TargetParser.cpp
parenta87d484a97f6ddc7404a2970a764158a5b27e3e5 (diff)
downloadllvm-5d650a62a35c2f38b112f5ee930654e678bcd5bb.zip
llvm-5d650a62a35c2f38b112f5ee930654e678bcd5bb.tar.gz
llvm-5d650a62a35c2f38b112f5ee930654e678bcd5bb.tar.bz2
AMDGPU: Add support for v_ashr_pk_i8/u8_i32 instructions for gfx950 (#117596)
This patch adds assembly and builtin support for v_ashr_pk_i8/u8_i32 instructions. Co-authored-by: Sirish Pande <Sirish.Pande@amd.com>
Diffstat (limited to 'llvm/lib/TargetParser/TargetParser.cpp')
-rw-r--r--llvm/lib/TargetParser/TargetParser.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/TargetParser/TargetParser.cpp b/llvm/lib/TargetParser/TargetParser.cpp
index 6da48da..23532b9 100644
--- a/llvm/lib/TargetParser/TargetParser.cpp
+++ b/llvm/lib/TargetParser/TargetParser.cpp
@@ -474,6 +474,7 @@ void AMDGPU::fillAMDGPUFeatureMap(StringRef GPU, const Triple &T,
Features["prng-inst"] = true;
Features["permlane16-swap"] = true;
Features["permlane32-swap"] = true;
+ Features["ashr-pk-insts"] = true;
Features["gfx950-insts"] = true;
[[fallthrough]];
case GK_GFX942: