[PATCH] D76550: [Attributor] Improve the alignment of the loads
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Mar 22 14:29:00 PDT 2020
lebedev.ri added inline comments.
================
Comment at: llvm/lib/Transforms/IPO/Attributor.cpp:5639
+ // Alignment of 0 is treated by MaybeAlign as no alignment,
+ // so when no alignment is specified for the load instruction,
+ // natural alignment is assumed. so we manually set it to 1.
----------------
s/so when/but when/
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76550/new/
https://reviews.llvm.org/D76550
More information about the llvm-commits
mailing list