[PATCH] D81260: [AMDGPU] Skip processing intrinsics that do not become real instructions

Daniil Fukalov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 5 10:02:04 PDT 2020


dfukalov updated this revision to Diff 268858.
dfukalov added a comment.

fixed typo


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D81260/new/

https://reviews.llvm.org/D81260

Files:
  llvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp


Index: llvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp
===================================================================
--- llvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp
+++ llvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp
@@ -1731,7 +1731,7 @@
       CallInst *CI = dyn_cast<CallInst>(I);
       ++I;
       // Ignore intrinsics that do not become real instructions.
-      if (!CI || isa<DbgInfoIntrinsic>(CI) || !CI->isLifetimeStartOrEnd())
+      if (!CI || isa<DbgInfoIntrinsic>(CI) || CI->isLifetimeStartOrEnd())
         continue;
 
       // Ignore indirect calls.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81260.268858.patch
Type: text/x-patch
Size: 559 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200605/6c7bba64/attachment.bin>


More information about the llvm-commits mailing list