[PATCH] D137154: Adding nvvm_reflect clang builtin
Hugh Delaney via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 1 08:23:01 PDT 2022
hdelan updated this revision to Diff 472310.
hdelan added a comment.
Removing redundant check
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D137154/new/
https://reviews.llvm.org/D137154
Files:
llvm/lib/Target/NVPTX/NVVMReflect.cpp
Index: llvm/lib/Target/NVPTX/NVVMReflect.cpp
===================================================================
--- llvm/lib/Target/NVPTX/NVVMReflect.cpp
+++ llvm/lib/Target/NVPTX/NVVMReflect.cpp
@@ -40,7 +40,6 @@
#include <sstream>
#include <string>
#define NVVM_REFLECT_FUNCTION "__nvvm_reflect"
-#define NVVM_REFLECT_LLVM_INTRINSIC_NAME "llvm.nvvm.reflect"
using namespace llvm;
@@ -120,7 +119,6 @@
continue;
Function *Callee = Call->getCalledFunction();
if (!Callee || (Callee->getName() != NVVM_REFLECT_FUNCTION &&
- Callee->getName() != NVVM_REFLECT_LLVM_INTRINSIC_NAME &&
Callee->getIntrinsicID() != Intrinsic::nvvm_reflect))
continue;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137154.472310.patch
Type: text/x-patch
Size: 718 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221101/5b34059b/attachment.bin>
More information about the llvm-commits
mailing list