[llvm-commits] [llvm] r170475 - /llvm/trunk/include/llvm/CodeGen/MachineInstr.h

Jakob Stoklund Olesen stoklund at 2pi.dk
Tue Dec 18 15:40:15 PST 2012


Author: stoklund
Date: Tue Dec 18 17:40:14 2012
New Revision: 170475

URL: http://llvm.org/viewvc/llvm-project?rev=170475&view=rev
Log:
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.

Modified:
    llvm/trunk/include/llvm/CodeGen/MachineInstr.h

Modified: llvm/trunk/include/llvm/CodeGen/MachineInstr.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/MachineInstr.h?rev=170475&r1=170474&r2=170475&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/MachineInstr.h (original)
+++ llvm/trunk/include/llvm/CodeGen/MachineInstr.h Tue Dec 18 17:40:14 2012
@@ -200,15 +200,6 @@
     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 {





More information about the llvm-commits mailing list