commit | 9949933d6eb406bc74f7df7a0180a11c050a236f | [log] [tgz] |
---|---|---|
author | Dale Johannesen <dalej@apple.com> | Wed Dec 23 07:32:51 2009 +0000 |
committer | Dale Johannesen <dalej@apple.com> | Wed Dec 23 07:32:51 2009 +0000 |
tree | d4586c598a02407e95be1c75257972aaf41165d0 | |
parent | d060b2576ab10d463e339186bcc61860500cbce0 [diff] [blame] |
Use more sensible type for flags in asms. PR 5570. Patch by Sylve`re Teissier (sorry, ASCII only). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91988 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index a640c7d..1b6b62a 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@ -1182,9 +1182,8 @@ } // Add this to the output node. - EVT IntPtrTy = TLI.getPointerTy(); Ops.push_back(CurDAG->getTargetConstant(4/*MEM*/ | (SelOps.size()<< 3), - IntPtrTy)); + MVT::i32)); Ops.insert(Ops.end(), SelOps.begin(), SelOps.end()); i += 2; }