[PATCH] D27677: [AArch64] Add feature for disabling unaligned quadword store penalty

Matthias Braun via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 12 10:57:07 PST 2016


MatzeB added a comment.

Isn't this the same as "FeatureSlowMisaligned128Store"?



================
Comment at: lib/Target/AArch64/AArch64Subtarget.cpp:74
     MaxInterleaveFactor = 4;
+    UseUnalignedQuadwordStorePenalty = false;
     break;
----------------
Use target a target feature (or rather reuse the existing one) and let tablegen deal with a boolean flag instead of manually setting it here. (This switch is only needed for integer values because the tablegen logic only deals with booleans at the moment).


https://reviews.llvm.org/D27677





More information about the llvm-commits mailing list