[PATCH] D59872: [X86MacroFusion] Handle branch fusion (AMD CPUs).
Clement Courbet via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 28 06:44:18 PDT 2019
courbet added inline comments.
================
Comment at: llvm/test/CodeGen/X86/testb-je-fusion.ll:1-3
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc < %s -mtriple=x86_64-- -mattr=-macrofusion | FileCheck %s --check-prefix=NOFUSION
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+macrofusion | FileCheck %s --check-prefix=MACROFUSION
----------------
lebedev.ri wrote:
> In trunk, i think you will get slightly more meaningful diff with
> ```
> ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
> ; RUN: llc < %s -mtriple=x86_64-- -mattr=-macrofusion,-branchfusion | FileCheck %s --check-prefixes=NOFUSION
> ; RUN: llc < %s -mtriple=x86_64-- -mattr=-macrofusion,+branchfusion | FileCheck %s --check-prefixes=NOFUSION,BRANCHFUSION,BRANCHFUSIONONLY
> ; RUN: llc < %s -mtriple=x86_64-- -mattr=+macrofusion,-branchfusion | FileCheck %s --check-prefixes=NOFUSION,BRANCHFUSION,MACROFUSION
> ```
> (drop `[+-]branchfusion` for trunk, add it back in patch)
Good point, done.
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