[PATCH] D39976: [AArch64] Consider the cost model when folding loads and stores
Evandro Menezes via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 16 11:52:26 PST 2017
evandro added inline comments.
================
Comment at: llvm/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp:697
+ else if (NewLat == (OldALat + OldBLat))
+ return (NewSD->NumMicroOps < (OldASD->NumMicroOps + OldBSD->NumMicroOps));
+
----------------
junbuml wrote:
> Why don't we use <= , instead of < ?
Because typically decoding an instruction into multiple uops costs more in the front end of the pipeline than decoding multiple instructions into single uops.
https://reviews.llvm.org/D39976
More information about the llvm-commits
mailing list