[all-commits] [llvm/llvm-project] 03d030: [CodeGen] Filter out available_externally aliases
Jonas Hahnfeld via All-commits
all-commits at lists.llvm.org
Tue Feb 7 17:16:37 PST 2023
Branch: refs/heads/release/16.x
Home: https://github.com/llvm/llvm-project
Commit: 03d030be087a38b9671dabd6953e86d7756775fa
https://github.com/llvm/llvm-project/commit/03d030be087a38b9671dabd6953e86d7756775fa
Author: Jonas Hahnfeld <jonas.hahnfeld at cern.ch>
Date: 2023-02-07 (Tue, 07 Feb 2023)
Changed paths:
M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
A llvm/test/CodeGen/Generic/available_externally_alias.ll
Log Message:
-----------
[CodeGen] Filter out available_externally aliases
The Language Reference says that aliases can have available_externally
linkage if their aliasee is an available_externally global value. Using
this kind of aliases resulted in crashes during code generation, filter
them out (the same that the AsmPrinter also filters out GlobalVariables
in emitSpecialLLVMGlobal(); Functions are discarded in the machine pass
infrastructure).
Differential Revision: https://reviews.llvm.org/D142352
(cherry picked from commit f1c4f927f7c15b5efdc3589c050fd0513bf6b303)
Commit: c41085e779b1ffdd343be8dfcc59aaaeef61faec
https://github.com/llvm/llvm-project/commit/c41085e779b1ffdd343be8dfcc59aaaeef61faec
Author: Jonas Hahnfeld <jonas.hahnfeld at cern.ch>
Date: 2023-02-07 (Tue, 07 Feb 2023)
Changed paths:
M llvm/test/CodeGen/Generic/available_externally_alias.ll
Log Message:
-----------
XFAIL new test available_externally_alias.ll on NVPTX
(cherry picked from commit e302c04cfa10908858401a4845d6a9c773d6735f)
Compare: https://github.com/llvm/llvm-project/compare/aa2bbfaee2d5...c41085e779b1
More information about the All-commits
mailing list