aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorDaniel Kiss <daniel.kiss@arm.com>2024-02-23 10:20:54 +0100
committerDaniel Kiss <daniel.kiss@arm.com>2024-02-23 10:24:15 +0100
commitb13c8e5099ec7886fcd198b1f6aec14f928c963c (patch)
tree0036bac830ffe15ae58765bca5d39b3c173da4f3 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent59ff4d131c7d6b3bfcbe8e96cac99c9d8a65bf4e (diff)
downloadllvm-b13c8e5099ec7886fcd198b1f6aec14f928c963c.zip
llvm-b13c8e5099ec7886fcd198b1f6aec14f928c963c.tar.gz
llvm-b13c8e5099ec7886fcd198b1f6aec14f928c963c.tar.bz2
Revert "[llvm][AArch64] Autoupgrade function attributes from Module attributes. (#80640)"
This reverts commit 531e8c26b3f2626e7f1a997e0e8b61d67d10aded.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
-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 8c86010..832907a 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.