[PATCH] D53554: [Argument Promotion] Only promote args when function attributes are compatible

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 18 13:45:48 PST 2018


craig.topper added a comment.

I'm also seeing issues from ArgumentPromotion with my min-legal-vector-width attribute used by X86 with avx512 enabled and -mprefer-vector-width=256. I think I'll need to override the X86 implementation of areFunctionArgsABICompatible to check for this attribute as well.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D53554/new/

https://reviews.llvm.org/D53554





More information about the llvm-commits mailing list