mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-27 22:55:15 +00:00
Ignore dbg info intrinsics.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95828 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1c5bcac7d5
commit
be905e26f6
@ -1891,6 +1891,10 @@ Value *GVN::lookupNumber(BasicBlock *BB, uint32_t num) {
|
||||
/// by inserting it into the appropriate sets
|
||||
bool GVN::processInstruction(Instruction *I,
|
||||
SmallVectorImpl<Instruction*> &toErase) {
|
||||
// Ignore dbg info intrinsics.
|
||||
if (isa<DbgInfoIntrinsic>(I))
|
||||
return false;
|
||||
|
||||
if (LoadInst *LI = dyn_cast<LoadInst>(I)) {
|
||||
bool Changed = processLoad(LI, toErase);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user