Skip to content

Commit 2cb4fb7

Browse files
committed
Fixing things I broke...
1 parent cb6cfb1 commit 2cb4fb7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/HLSL/HLOperationLower.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2084,7 +2084,7 @@ Value *TranslateFirstbitHi(CallInst *CI, IntrinsicOp IOP, OP::OpCode opcode,
20842084
HLObjectOperationLowerHelper *pObjHelper,
20852085
bool &Translated) {
20862086
Value *firstbitHi =
2087-
TrivialUnaryOperation(CI, IOP, opcode, helper, pObjHelper, Translated);
2087+
TrivialUnaryOperationRet(CI, IOP, opcode, helper, pObjHelper, Translated);
20882088
// firstbitHi == -1? -1 : (bitWidth-1 -firstbitHi);
20892089
IRBuilder<> Builder(CI);
20902090
Constant *neg1 = Builder.getInt32(-1);
@@ -2117,7 +2117,7 @@ Value *TranslateFirstbitLo(CallInst *CI, IntrinsicOp IOP, OP::OpCode opcode,
21172117
HLObjectOperationLowerHelper *pObjHelper,
21182118
bool &Translated) {
21192119
Value *firstbitLo =
2120-
TrivialUnaryOperation(CI, IOP, opcode, helper, pObjHelper, Translated);
2120+
TrivialUnaryOperationRet(CI, IOP, opcode, helper, pObjHelper, Translated);
21212121
return firstbitLo;
21222122
}
21232123

0 commit comments

Comments
 (0)