search for: getpromotedinteger

Displaying 2 results from an estimated 2 matches for "getpromotedinteger".

Did you mean: setpromotedinteger
2014 Apr 03
5
[LLVMdev] 32bit pointers on a (pure) 64bit architecture
...a 'store' node now has a mix of operands: - some of the operands were already 'i64' from the beginning, - others were 'i32' (due to the 32bit pointers) and have been promoted to 'i64' Because of the latter, the 'PromoteIntOp_STORE' is called. This uses 'GetPromotedInteger' to access the operands. But, GetPromotedInteger fails if the operand was not promoted. So it fails on the operands of the 'store' that were already legal (i64). What would be the recommended way to fix this ? (Or did I miss something, and should 32bit pointers on a 64bit architecture...
2014 Mar 07
3
[LLVMdev] [RFC] Add second "failure" AtomicOrdering to cmpxchg instruction
...8b2376 100644 --- a/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp +++ b/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp @@ -193,10 +193,10 @@ SDValue DAGTypeLegalizer::PromoteIntRes_Atomic1(AtomicSDNode *N) { SDValue DAGTypeLegalizer::PromoteIntRes_Atomic2(AtomicSDNode *N) { SDValue Op2 = GetPromotedInteger(N->getOperand(2)); SDValue Op3 = GetPromotedInteger(N->getOperand(3)); - SDValue Res = DAG.getAtomic(N->getOpcode(), SDLoc(N), - N->getMemoryVT(), N->getChain(), N->getBasePtr(), - Op2, Op3, N->getMemOperand(), N-&gt...