diff options
| author | Clement Courbet <courbet@google.com> | 2019-03-28 14:12:46 +0000 |
|---|---|---|
| committer | Clement Courbet <courbet@google.com> | 2019-03-28 14:12:46 +0000 |
| commit | 699dc025a62589cfd8f2c9d2c64b4297f2dedb88 (patch) | |
| tree | 4ea56b5913bc50ce5615c3ea83df10a3ed0834b1 /llvm/test/Transforms/LoopStrengthReduce | |
| parent | a353fd572abbbf00f5ccd496bc2571fb23c517e3 (diff) | |
| download | bcm5719-llvm-699dc025a62589cfd8f2c9d2c64b4297f2dedb88.tar.gz bcm5719-llvm-699dc025a62589cfd8f2c9d2c64b4297f2dedb88.zip | |
[X86MacroFusion] Handle branch fusion (AMD CPUs).
Summary:
This adds a BranchFusion feature to replace the usage of the MacroFusion
for AMD CPUs.
See D59688 for context.
Reviewers: andreadb, lebedev.ri
Subscribers: hiraditya, jdoerfert, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D59872
llvm-svn: 357171
Diffstat (limited to 'llvm/test/Transforms/LoopStrengthReduce')
| -rw-r--r-- | llvm/test/Transforms/LoopStrengthReduce/X86/macro-fuse-cmp.ll | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/test/Transforms/LoopStrengthReduce/X86/macro-fuse-cmp.ll b/llvm/test/Transforms/LoopStrengthReduce/X86/macro-fuse-cmp.ll index 21a1799fc7c..10a725a7ef2 100644 --- a/llvm/test/Transforms/LoopStrengthReduce/X86/macro-fuse-cmp.ll +++ b/llvm/test/Transforms/LoopStrengthReduce/X86/macro-fuse-cmp.ll @@ -3,8 +3,9 @@ ; RUN: opt < %s -loop-reduce -mcpu=bdver2 -S | FileCheck %s --check-prefix=BUL ; RUN: opt < %s -loop-reduce -mcpu=haswell -S | FileCheck %s --check-prefix=HSW -; RUN: llc < %s | FileCheck %s --check-prefix=BASE -; RUN: llc < %s -mattr=macrofusion | FileCheck %s --check-prefix=FUSE +; RUN: llc < %s | FileCheck %s --check-prefix=BASE +; RUN: llc < %s -mattr=macrofusion | FileCheck %s --check-prefix=FUSE +; RUN: llc < %s -mattr=branchfusion | FileCheck %s --check-prefix=FUSE target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-unknown" |

