aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer
diff options
context:
space:
mode:
authorjjasmine <jjasmine@igalia.com>2025-07-03 03:01:36 -0700
committerGitHub <noreply@github.com>2025-07-03 11:01:36 +0100
commitcbc2ac5db8ead660f1c264b6eb1e374665e4c152 (patch)
treedc24bdafe4d5b6b9d2516c7ce22b92265a9f1b3d /llvm/lib/Bitcode/Writer
parenta17c598145b03a96346e3bdd0fbc20d4e8d69fd5 (diff)
downloadllvm-cbc2ac5db8ead660f1c264b6eb1e374665e4c152.zip
llvm-cbc2ac5db8ead660f1c264b6eb1e374665e4c152.tar.gz
llvm-cbc2ac5db8ead660f1c264b6eb1e374665e4c152.tar.bz2
[WebAssembly] Fold TargetGlobalAddress with added offset (#145829)
Previously we only folded TargetGlobalAddresses into the memarg if they were on their own, so this patch supports folding TargetGlobalAddresses that are added to some other offset. Previously we weren't able to do this because we didn't have nuw on the add, but we can now that getelementptr has nuw and is plumbed through to the add in 0564d0665b302d1c7861e03d2995612f46613a0f. Fixes #61930
Diffstat (limited to 'llvm/lib/Bitcode/Writer')
0 files changed, 0 insertions, 0 deletions