================ @@ -0,0 +1,85 @@ +; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=corei7 | FileCheck --check-prefixes=ALL %s +; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=corei7-avx | FileCheck --check-prefixes=ALL,AVX %s + +; Don't need to preserve registers before using them. +define preserve_nonecc double @preserve_nonecc1() nounwind { +entry: +;ALL-LABEL: preserve_nonecc1 +;ALL-NOT: movaps %xmm1 ---------------- david-xl wrote:
check no savings of GSRs too? https://github.com/llvm/llvm-project/pull/76868 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits