diff options
author | Amina Chabane <amina.chabane@arm.com> | 2025-09-08 10:35:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-08 10:35:04 +0100 |
commit | 3b19717fb4ce17e450f13f1fd114c26a9682accf (patch) | |
tree | b6b800ab57e7f157959fc050cb79c0082efbac40 /llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp | |
parent | dd0161f6025bb97f6784e0bc7e1b5849acae44dd (diff) | |
download | llvm-3b19717fb4ce17e450f13f1fd114c26a9682accf.zip llvm-3b19717fb4ce17e450f13f1fd114c26a9682accf.tar.gz llvm-3b19717fb4ce17e450f13f1fd114c26a9682accf.tar.bz2 |
[AArch64] Removed redundant FMOV instruction for truncstores of f64/f32 via bitcast to i64/i32/i8. (#149997)
Previously, storing the low bits of a double, which was bitcast to i64
and truncated to i32 or i16, would emit a redundant FMOV. This patch
introduces new TableGen patterns to avoid the unnecessary FMOV. Tests
added: bitcast_truncstore.ll
Diffstat (limited to 'llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp')
0 files changed, 0 insertions, 0 deletions