[llvm] e8d98fa - ShadowGCLowering: Drop typed pointer handling
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 18 23:21:28 PST 2023
Author: Matt Arsenault
Date: 2023-12-19T14:03:54+07:00
New Revision: e8d98fa16ba1e43147b8af01ea3b1c61e869a1cb
URL: https://github.com/llvm/llvm-project/commit/e8d98fa16ba1e43147b8af01ea3b1c61e869a1cb
DIFF: https://github.com/llvm/llvm-project/commit/e8d98fa16ba1e43147b8af01ea3b1c61e869a1cb.diff
LOG: ShadowGCLowering: Drop typed pointer handling
Added:
Modified:
llvm/lib/CodeGen/ShadowStackGCLowering.cpp
Removed:
################################################################################
diff --git a/llvm/lib/CodeGen/ShadowStackGCLowering.cpp b/llvm/lib/CodeGen/ShadowStackGCLowering.cpp
index 38f658084294d3..ff6790a5a825bd 100644
--- a/llvm/lib/CodeGen/ShadowStackGCLowering.cpp
+++ b/llvm/lib/CodeGen/ShadowStackGCLowering.cpp
@@ -115,7 +115,7 @@ Constant *ShadowStackGCLowering::GetFrameMap(Function &F) {
Constant *C = cast<Constant>(Roots[I].first->getArgOperand(1));
if (!C->isNullValue())
NumMeta = I + 1;
- Metadata.push_back(ConstantExpr::getBitCast(C, VoidPtr));
+ Metadata.push_back(C);
}
Metadata.resize(NumMeta);
More information about the llvm-commits
mailing list