[all-commits] [llvm/llvm-project] 924696: [AsmPrinter] Avoid pointer element type access
Nikita Popov via All-commits
all-commits at lists.llvm.org
Tue Feb 8 06:06:20 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 924696d271cabdda066088c40a0fa98bd240b86a
https://github.com/llvm/llvm-project/commit/924696d271cabdda066088c40a0fa98bd240b86a
Author: Nikita Popov <npopov at redhat.com>
Date: 2022-02-08 (Tue, 08 Feb 2022)
Changed paths:
M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
Log Message:
-----------
[AsmPrinter] Avoid pointer element type access
Instead of checking for a bitcast from a function type, check
whether the aliasee is a function after stripping bitcasts. This
is not strictly equivalent, but serves the same purpose.
More information about the All-commits
mailing list