================
@@ -2115,22 +2115,89 @@ GCNTTIImpl::fpenvIEEEMode(const Instruction &I) const {
: KnownIEEEMode::On;
}
+static unsigned getNumMemoryInsts(unsigned Bytes, unsigned MaxBytes,
+ bool HasDwordx3) {
+ unsigned NumInsts = Bytes / MaxBytes;
+ unsigned Rem = Bytes % MaxBytes;
+ if (HasDwordx3 && Rem >= 12) {
----------------
arsenm wrote:
I think this only helps if it's exactly 12
https://github.com/llvm/llvm-project/pull/233261
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits