[PATCH] D32241: Don't process debug intrinsics in InstCombine
Dmitry Mikulin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 19 16:54:34 PDT 2017
dmikulin updated this revision to Diff 95858.
dmikulin added a comment.
Skip debug intrinsics early.
https://reviews.llvm.org/D32241
Files:
lib/Transforms/InstCombine/InstructionCombining.cpp
Index: lib/Transforms/InstCombine/InstructionCombining.cpp
===================================================================
--- lib/Transforms/InstCombine/InstructionCombining.cpp
+++ lib/Transforms/InstCombine/InstructionCombining.cpp
@@ -3071,7 +3071,9 @@
}
}
- InstrsForInstCombineWorklist.push_back(Inst);
+ // Skip processing intrinsics in InstCombine
+ if (!isa<DbgInfoIntrinsic>(Inst))
+ InstrsForInstCombineWorklist.push_back(Inst);
}
// Recursively visit successors. If this is a branch or switch on a
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32241.95858.patch
Type: text/x-patch
Size: 567 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170419/d268d487/attachment.bin>
More information about the llvm-commits
mailing list