diff options
author | Min Hsu <min.hsu@sifive.com> | 2024-04-30 09:48:56 -0700 |
---|---|---|
committer | Min Hsu <min.hsu@sifive.com> | 2024-04-30 09:50:16 -0700 |
commit | 6ab49fcbb237779042bfb7f5210321fe75f8f432 (patch) | |
tree | 0a8d1bf3f7054806ded6080bf6923d454d3841fd /llvm/lib/IR/IntrinsicInst.cpp | |
parent | 267329d7e0e7dc6cb6d59b7d71290d5e5f5c6be2 (diff) | |
download | llvm-6ab49fcbb237779042bfb7f5210321fe75f8f432.zip llvm-6ab49fcbb237779042bfb7f5210321fe75f8f432.tar.gz llvm-6ab49fcbb237779042bfb7f5210321fe75f8f432.tar.bz2 |
[VP] Fix unit test failures caused by #90502
Forgot to add vp.cttz.elts into the unittest. Also, I didn't specify the
positions of overloaded type parameters.
Diffstat (limited to 'llvm/lib/IR/IntrinsicInst.cpp')
-rw-r--r-- | llvm/lib/IR/IntrinsicInst.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/IR/IntrinsicInst.cpp b/llvm/lib/IR/IntrinsicInst.cpp index 6b6420a..6743b31 100644 --- a/llvm/lib/IR/IntrinsicInst.cpp +++ b/llvm/lib/IR/IntrinsicInst.cpp @@ -677,6 +677,7 @@ Function *VPIntrinsic::getDeclarationForParams(Module *M, Intrinsic::ID VPID, case Intrinsic::vp_inttoptr: case Intrinsic::vp_lrint: case Intrinsic::vp_llrint: + case Intrinsic::vp_cttz_elts: VPFunc = Intrinsic::getDeclaration(M, VPID, {ReturnType, Params[0]->getType()}); break; |