[llvm] [GlobalISel] Preserve cache hint metadata through IRTranslator (PR #224522)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 21 11:46:26 PDT 2026
llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-llvm-globalisel
Author: Yonah Goldberg (YonahGoldberg)
<details>
<summary>Changes</summary>
Preserve cache hint metadata when lowering from IR to gMIR. Supports loads/stores atomic loads/stores, atomicrmw, cmpxchg, memcpy, memmov, and memset and target memory intrinsics.
---
Full diff: https://github.com/llvm/llvm-project/pull/224522.diff
6 Files Affected:
- (modified) llvm/include/llvm/CodeGen/GlobalISel/GenericMachineInstrs.h (+3-3)
- (modified) llvm/include/llvm/CodeGen/TargetLowering.h (+9)
- (modified) llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp (+36-18)
- (modified) llvm/lib/Target/X86/X86ISelLowering.cpp (+8-8)
- (added) llvm/test/CodeGen/Generic/GlobalISel/irtranslator-mem-cache-hint.ll (+86)
- (added) llvm/test/CodeGen/Mips/GlobalISel/legalizer/mem-cache-hint.ll (+27)
``````````diff
The server is unavailable at this time. Please wait a few minutes before you try again.
``````````
</details>
https://github.com/llvm/llvm-project/pull/224522
More information about the llvm-commits
mailing list