[PATCH] D46273: [InstCombine, ARM] Convert vld1 to llvm load
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 23 12:08:15 PDT 2018
efriedma added inline comments.
================
Comment at: lib/Transforms/InstCombine/InstCombineCalls.cpp:1402
+ unsigned Alignment = IntrAlign->getLimitedValue() < MemAlign ?
+ MemAlign : IntrAlign->getLimitedValue();
+
----------------
For safety, probably should verify the alignment is a power of two.
https://reviews.llvm.org/D46273
More information about the llvm-commits
mailing list