[all-commits] [llvm/llvm-project] e9ac75: [AArch64] Don't expand memcmp in strict align mode.

Eli Friedman via All-commits all-commits at lists.llvm.org
Tue Apr 7 10:54:46 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e9ac757f79cdaf25b3820fd13314dbc01b357ae9
      https://github.com/llvm/llvm-project/commit/e9ac757f79cdaf25b3820fd13314dbc01b357ae9
  Author: Eli Friedman <efriedma at quicinc.com>
  Date:   2020-04-07 (Tue, 07 Apr 2020)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
    M llvm/test/CodeGen/AArch64/bcmp-inline-small.ll

  Log Message:
  -----------
  [AArch64] Don't expand memcmp in strict align mode.

7aecf232 fixed the bug where we would miscompile, but we still generate
a crazy amount of code. Turn off the expansion until someone implements
an appropriate heuristic.

Differential Revision: https://reviews.llvm.org/D77599




More information about the All-commits mailing list