[llvm] [IR][AArch64] Add "ptrauth(...)" Constant to represent signed pointers. (PR #85738)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 19 04:14:34 PDT 2024
================
@@ -2015,6 +2018,118 @@ Value *NoCFIValue::handleOperandChangeImpl(Value *From, Value *To) {
return nullptr;
}
+//---- ConstantPtrAuth::get() implementations.
+//
+
+static bool areEquivalentAddrDiscriminators(const Value *V1, const Value *V2,
+ const DataLayout &DL) {
+ APInt V1Off(DL.getPointerSizeInBits(), 0);
----------------
nikic wrote:
Should be IndexSize, not PointerSize.
https://github.com/llvm/llvm-project/pull/85738
More information about the llvm-commits
mailing list