| Index: src/IceTargetLoweringX86Base.h
|
| diff --git a/src/IceTargetLoweringX86Base.h b/src/IceTargetLoweringX86Base.h
|
| index da863f4ae0f0eaf439a25435e2182aa6772aa6cf..91cb1359a6da2be0969e1388f817dfe6ba26ba68 100644
|
| --- a/src/IceTargetLoweringX86Base.h
|
| +++ b/src/IceTargetLoweringX86Base.h
|
| @@ -180,7 +180,8 @@ protected:
|
| void prelowerPhis() override;
|
| void doAddressOptLoad() override;
|
| void doAddressOptStore() override;
|
| - void randomlyInsertNop(float Probability) override;
|
| + void randomlyInsertNop(float Probability,
|
| + RandomNumberGenerator &RNG) override;
|
|
|
| /// Naive lowering of cmpxchg.
|
| void lowerAtomicCmpxchg(Variable *DestPrev, Operand *Ptr, Operand *Expected,
|
| @@ -269,9 +270,10 @@ protected:
|
| typename Traits::X86OperandMem *
|
| getMemoryOperandForStackSlot(Type Ty, Variable *Slot, uint32_t Offset = 0);
|
|
|
| - void makeRandomRegisterPermutation(
|
| - llvm::SmallVectorImpl<int32_t> &Permutation,
|
| - const llvm::SmallBitVector &ExcludeRegisters) const override;
|
| + void
|
| + makeRandomRegisterPermutation(llvm::SmallVectorImpl<int32_t> &Permutation,
|
| + const llvm::SmallBitVector &ExcludeRegisters,
|
| + uint64_t Salt) const override;
|
|
|
| /// The following are helpers that insert lowered x86 instructions
|
| /// with minimal syntactic overhead, so that the lowering code can
|
|
|