[PATCH] D59872: [X86MacroFusion] Handle branch fusion (AMD CPUs).

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 27 06:02:41 PDT 2019


lebedev.ri added inline comments.


================
Comment at: llvm/test/Transforms/LoopStrengthReduce/X86/macro-fuse-cmp.ll:2
 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
 ; RUN: opt < %s -loop-reduce -mcpu=btver2  -S | FileCheck %s --check-prefix=JAG
 ; RUN: opt < %s -loop-reduce -mcpu=haswell -S | FileCheck %s --check-prefix=HSW
----------------
Also, if you do add a test that we don't fuse non-CMP/TEST instructions if we only have `branchfusion`,
could you please also add a bdver2 runline, and precommit all that?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D59872





More information about the llvm-commits mailing list