diff options
author | Kaviya Rajendiran <67495422+kaviya2510@users.noreply.github.com> | 2025-04-30 11:13:20 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-30 11:13:20 +0530 |
commit | 857ac4c229d209ebf3990c4760e2fc546beeac9c (patch) | |
tree | 72a1e9d8db2172fad3cded68067ee9ff67457531 /clang/unittests/Format/ConfigParseTest.cpp | |
parent | e4332e470678093c42670b594014bce8e91fe31b (diff) | |
download | llvm-857ac4c229d209ebf3990c4760e2fc546beeac9c.zip llvm-857ac4c229d209ebf3990c4760e2fc546beeac9c.tar.gz llvm-857ac4c229d209ebf3990c4760e2fc546beeac9c.tar.bz2 |
[MLIR][OpenMP] Lowering nontemporal clause to LLVM IR for SIMD directive (#118751)
This patch,
- Added a new attribute `nontemporal` to fir.load and fir.store operation in the FIR dialect.
- Added a pass `lower-nontemporal` which is called before FIRToLLVM conversion pass and adds the nontemporal attribute to loads and stores on the list items specified in the nontemporal clause of the SIMD directive.
- Set the `UnitAttr:$nontemporal` to llvm.load and llvm.store operations during FIR to LLVM dialect conversion, if the corresponding fir.load or fir.store operations have the nontemporal attribute.
- Attached the `nontemporal metadata` to load and store instructions that have the nontemporal attribute, during LLVM dialect to LLVM IR translation.
Diffstat (limited to 'clang/unittests/Format/ConfigParseTest.cpp')
0 files changed, 0 insertions, 0 deletions