[PATCH] D12033: [BasicAliasAnalysis] Do not check ModRef table for intrinsics
Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 17 08:59:20 PDT 2015
This revision was automatically updated to reflect the committed changes.
Closed by commit rL245224: [BasicAliasAnalysis] Do not check ModRef table for intrinsics (authored by igor.laevsky).
Changed prior to commit:
http://reviews.llvm.org/D12033?vs=32153&id=32313#toc
Repository:
rL LLVM
http://reviews.llvm.org/D12033
Files:
llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp
Index: llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp
===================================================================
--- llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp
+++ llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp
@@ -532,13 +532,6 @@
if (F->doesNotAccessMemory())
return FMRB_DoesNotAccessMemory;
- // For intrinsics, we can check the table.
- if (Intrinsic::ID iid = F->getIntrinsicID()) {
-#define GET_INTRINSIC_MODREF_BEHAVIOR
-#include "llvm/IR/Intrinsics.gen"
-#undef GET_INTRINSIC_MODREF_BEHAVIOR
- }
-
FunctionModRefBehavior Min = FMRB_UnknownModRefBehavior;
// If the function declares it only reads memory, go with that.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12033.32313.patch
Type: text/x-patch
Size: 662 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150817/f2603755/attachment.bin>
More information about the llvm-commits
mailing list