summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode
diff options
context:
space:
mode:
authorVedant Paranjape <vedant.paranjape@amd.com>2024-02-23 13:47:58 +0530
committerGitHub <noreply@github.com>2024-02-23 13:47:58 +0530
commitee9c02cf74a3e8f83db814363b9e095eb290b083 (patch)
treed39a724d72cc2484e2c79db98f5666605264e8f2 /llvm/lib/Bitcode
parent531e8c26b3f2626e7f1a997e0e8b61d67d10aded (diff)
Revert "[llvm][AArch64] Autoupgrade function attributes from Module attribute…"revert-80640-autoupgrade
This reverts commit 531e8c26b3f2626e7f1a997e0e8b61d67d10aded.
Diffstat (limited to 'llvm/lib/Bitcode')
-rw-r--r--llvm/lib/Bitcode/Reader/BitcodeReader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
index 8c860101afa0..832907a3f53f 100644
--- a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
+++ b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
@@ -6706,7 +6706,7 @@ Error BitcodeReader::materialize(GlobalValue *GV) {
}
// Look for functions that rely on old function attribute behavior.
- UpgradeFunctionAttributes(*F, true);
+ UpgradeFunctionAttributes(*F);
// Bring in any functions that this function forward-referenced via
// blockaddresses.