[all-commits] [llvm/llvm-project] 68edf3: [TargetMachine] Simplify shouldAssumeDSOLocal by p...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Sat Dec 5 11:40:34 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 68edf39ededf97a12602676f9cd537ed689151f0
https://github.com/llvm/llvm-project/commit/68edf39ededf97a12602676f9cd537ed689151f0
Author: Fangrui Song <i at maskray.me>
Date: 2020-12-05 (Sat, 05 Dec 2020)
Changed paths:
M llvm/lib/Target/TargetMachine.cpp
Log Message:
-----------
[TargetMachine] Simplify shouldAssumeDSOLocal by processing ExternalSymbolSDNode early
The function accrues many `GV` nullness checks. Process `!GV`
(ExternalSymbolSDNode) early to simplify code.
Also improve a comment added in r327198 (intrinsics is a subset of
ExternalSymbolSDNode).
Intended to be NFC.
More information about the All-commits
mailing list