Skip to content

Commit 8f4d9ef

Browse files
committed
fix after rebase
1 parent 0c7351b commit 8f4d9ef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3484,7 +3484,8 @@ void SelectionDAGBuilder::visitCallBrIntrinsic(const CallBrInst &I) {
34843484
SDVTList VTs = getTargetIntrinsicVTList(I, HasChain);
34853485

34863486
// Create the node.
3487-
SDValue Result = getTargetNonMemIntrinsicNode(I, HasChain, Ops, VTs);
3487+
SDValue Result =
3488+
getTargetNonMemIntrinsicNode(*I.getType(), HasChain, Ops, VTs);
34883489
Result = handleTargetIntrinsicRet(I, HasChain, OnlyLoad, Result);
34893490

34903491
setValue(&I, Result);

0 commit comments

Comments
 (0)