[PATCH] D84169: [Thumb] set code alignment for 16-bit load from constant pool
Diogo N. Sampaio via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 21 08:24:24 PDT 2020
dnsampaio added a comment.
Ok, this patch seems to be correct, but it would be nice to have a test.
You can use `clang -mllvm -stop-before=arm-cp-islands -mllvm --simplify-mir` to obtain a machine IR before the patch, and use `llc -run-pass=arm-cp-islands` to validate that the `alignment` for the function is set to 4.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D84169/new/
https://reviews.llvm.org/D84169
More information about the llvm-commits
mailing list