diff options
author | Sanjay Patel <spatel@rotateright.com> | 2015-12-14 17:24:23 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2015-12-14 17:24:23 +0000 |
commit | af674fbfd9c120d0b65629fdf89d6b9352fdd34a (patch) | |
tree | 7e7bca7bd9db7672e44222ce2b285224e0895eb1 /llvm/lib/Transforms/Scalar/Reassociate.cpp | |
parent | 1065323eeca9301e1cfd59b8799979935c6f983d (diff) | |
download | bcm5719-llvm-af674fbfd9c120d0b65629fdf89d6b9352fdd34a.tar.gz bcm5719-llvm-af674fbfd9c120d0b65629fdf89d6b9352fdd34a.zip |
getParent() ^ 3 == getModule() ; NFCI
llvm-svn: 255511
Diffstat (limited to 'llvm/lib/Transforms/Scalar/Reassociate.cpp')
-rw-r--r-- | llvm/lib/Transforms/Scalar/Reassociate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/Reassociate.cpp b/llvm/lib/Transforms/Scalar/Reassociate.cpp index 13d9b6d4fee..c35d9f4d425 100644 --- a/llvm/lib/Transforms/Scalar/Reassociate.cpp +++ b/llvm/lib/Transforms/Scalar/Reassociate.cpp @@ -64,7 +64,7 @@ namespace { /// Print out the expression identified in the Ops list. /// static void PrintOps(Instruction *I, const SmallVectorImpl<ValueEntry> &Ops) { - Module *M = I->getParent()->getParent()->getParent(); + Module *M = I->getModule(); dbgs() << Instruction::getOpcodeName(I->getOpcode()) << " " << *Ops[0].Op->getType() << '\t'; for (unsigned i = 0, e = Ops.size(); i != e; ++i) { |