Do not model all INLINEASM instructions as having unmodelled side effects.
[oota-llvm.git] / include / llvm / Target / Target.td
index e88a09eecc6ffca8507484fa313a05929756c46e..1bc00b610e559e6d39944f10bc670b5b6187e2ab 100644 (file)
@@ -418,6 +418,7 @@ def INLINEASM : Instruction {
   let OutOperandList = (outs);
   let InOperandList = (ins variable_ops);
   let AsmString = "";
+  let neverHasSideEffects = 1;  // Note side effect is encoded in an operand.
 }
 def PROLOG_LABEL : Instruction {
   let OutOperandList = (outs);