From: Jakob Stoklund Olesen Date: Tue, 18 Dec 2012 23:40:14 +0000 (+0000) Subject: Remove MachineInstr::setIsInsideBundle(). X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7aafc4bcddd7f50d10390bb76f69c71f99528a3b;p=platform%2Fupstream%2Fllvm.git Remove MachineInstr::setIsInsideBundle(). The bundle flags are now maintained by the slightly higher-level functions bundleWithPred() / bundleWithSucc() which enforce consistent bundle flags between neighboring instructions. See also MIBundleBuilder for an even higher-level approach to building bundles. llvm-svn: 170475 --- diff --git a/llvm/include/llvm/CodeGen/MachineInstr.h b/llvm/include/llvm/CodeGen/MachineInstr.h index 2313e44..0418b04 100644 --- a/llvm/include/llvm/CodeGen/MachineInstr.h +++ b/llvm/include/llvm/CodeGen/MachineInstr.h @@ -200,15 +200,6 @@ public: return getFlag(BundledPred); } - /// setIsInsideBundle - Set InsideBundle bit. - /// - void setIsInsideBundle(bool Val = true) { - if (Val) - setFlag(BundledPred); - else - clearFlag(BundledPred); - } - /// isBundled - Return true if this instruction part of a bundle. This is true /// if either itself or its following instruction is marked "InsideBundle". bool isBundled() const {