[PATCH] D32241: Don't process debug intrinsics in InstCombine
Davide Italiano via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 19 16:55:42 PDT 2017
davide added inline comments.
================
Comment at: lib/Transforms/InstCombine/InstructionCombining.cpp:3074-3075
- InstrsForInstCombineWorklist.push_back(Inst);
+ // Skip processing intrinsics in InstCombine
+ if (!isa<DbgInfoIntrinsic>(Inst))
+ InstrsForInstCombineWorklist.push_back(Inst);
----------------
Please expand this comment to explain why we want to skip them.
https://reviews.llvm.org/D32241
More information about the llvm-commits
mailing list