llvm-project
026182d8 - [llvm] Refactor `isLargeGlobalValue` from `TargetMachine` to `GlobalValue`

Commit
40 days ago
[llvm] Refactor `isLargeGlobalValue` from `TargetMachine` to `GlobalValue` By moving `isLargeGlobalValue(...)` from `TargetMachine` to `GlobalValue`, this commit moves the source of truth for the code model from the flags to `GlobalValue` itself. This commit is needed for an upcoming PR to support mixing large and small code model models. Functions are **not** supported in this PR. Co-authored-by: Alan Zhao <ayzhao@google.com>
Author
Committer
Parents
Loading