Loading llvm/lib/CodeGen/AtomicExpandPass.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -674,7 +674,7 @@ static PartwordMaskValues createMaskInstrs(IRBuilder<> &Builder, Instruction *I, Ret.ShiftAmt = Builder.CreateTrunc(Ret.ShiftAmt, Ret.WordType, "ShiftAmt"); Ret.Mask = Builder.CreateShl( ConstantInt::get(Ret.WordType, (1 << ValueSize * 8) - 1), Ret.ShiftAmt, ConstantInt::get(Ret.WordType, (1 << (ValueSize * 8)) - 1), Ret.ShiftAmt, "Mask"); Ret.Inv_Mask = Builder.CreateNot(Ret.Mask, "Inv_Mask"); Loading Loading
llvm/lib/CodeGen/AtomicExpandPass.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -674,7 +674,7 @@ static PartwordMaskValues createMaskInstrs(IRBuilder<> &Builder, Instruction *I, Ret.ShiftAmt = Builder.CreateTrunc(Ret.ShiftAmt, Ret.WordType, "ShiftAmt"); Ret.Mask = Builder.CreateShl( ConstantInt::get(Ret.WordType, (1 << ValueSize * 8) - 1), Ret.ShiftAmt, ConstantInt::get(Ret.WordType, (1 << (ValueSize * 8)) - 1), Ret.ShiftAmt, "Mask"); Ret.Inv_Mask = Builder.CreateNot(Ret.Mask, "Inv_Mask"); Loading