[all-commits] [llvm/llvm-project] dfa488: [IR] Cache llvm.module.flags metadata in Module
Alexis Engelke via All-commits
all-commits at lists.llvm.org
Wed Aug 14 00:44:27 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: dfa488baa2fad165e353ef54fde863a39f093333
https://github.com/llvm/llvm-project/commit/dfa488baa2fad165e353ef54fde863a39f093333
Author: Alexis Engelke <engelke at in.tum.de>
Date: 2024-08-14 (Wed, 14 Aug 2024)
Changed paths:
M llvm/include/llvm/IR/Module.h
M llvm/lib/IR/Module.cpp
Log Message:
-----------
[IR] Cache llvm.module.flags metadata in Module
This metadata is queried quite often, so avoiding frequent lookups in
the hash map is beneficial. Therefore, cache the metadata node directly
in the module.
Pull Request: https://github.com/llvm/llvm-project/pull/103410
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list