[all-commits] [llvm/llvm-project] 49e229: [GVN] Properly combine AA metadata if available lo...
Antonio Frighetto via All-commits
all-commits at lists.llvm.org
Tue May 26 00:12:18 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 49e2295cf52cac72cc3d3bcb4738582bc0c6bde1
https://github.com/llvm/llvm-project/commit/49e2295cf52cac72cc3d3bcb4738582bc0c6bde1
Author: Antonio Frighetto <me at antoniofrighetto.com>
Date: 2026-05-26 (Tue, 26 May 2026)
Changed paths:
M llvm/lib/Transforms/Scalar/GVN.cpp
A llvm/test/Transforms/GVN/PRE/pre-load-combine-metadata.ll
Log Message:
-----------
[GVN] Properly combine AA metadata if available load is hoisted (#197948)
Ensure the AA metadata are properly merged between the new load and the
old one during PRE. Actually set `DoesKMove` in `combineMetadataForCSE`,
otherwise the new load is assumed not to move, which is not correct if
the new load has happened to be hoisted.
Fixes: https://github.com/llvm/llvm-project/issues/196787.
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