From 71b1ca1be4aa0635723a6a00b267fe73ba719d95 Mon Sep 17 00:00:00 2001 From: Kyle Butt Date: Wed, 10 Aug 2016 18:36:18 +0000 Subject: Codegen: Tail Merge: Be less aggressive with special cases. This change makes it possible for tail-duplication and tail-merging to be disjoint. By being less aggressive when merging during layout, there are no overlapping cases between tail-duplication and tail-merging, provided the thresholds are disjoint. There is a remaining TODO to benchmark the succ_size() test for non-layout tail merging. llvm-svn: 278265 --- llvm/test/CodeGen/ARM/ifcvt4.ll | 4 ++-- llvm/test/CodeGen/Hexagon/rdf-copy.ll | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'llvm/test/CodeGen') diff --git a/llvm/test/CodeGen/ARM/ifcvt4.ll b/llvm/test/CodeGen/ARM/ifcvt4.ll index 0a6b99fb89b..fe4b675dd07 100644 --- a/llvm/test/CodeGen/ARM/ifcvt4.ll +++ b/llvm/test/CodeGen/ARM/ifcvt4.ll @@ -1,8 +1,8 @@ ; RUN: llc -mtriple=arm-eabi %s -o - | FileCheck %s ; CHECK-LABEL: t: -; CHECK: subgt -; CHECK: suble +; CHECK-DAG: subgt +; CHECK-DAG: suble define i32 @t(i32 %a, i32 %b) { entry: %tmp1434 = icmp eq i32 %a, %b ; [#uses=1] diff --git a/llvm/test/CodeGen/Hexagon/rdf-copy.ll b/llvm/test/CodeGen/Hexagon/rdf-copy.ll index afb03a6315d..ce47cf672d7 100644 --- a/llvm/test/CodeGen/Hexagon/rdf-copy.ll +++ b/llvm/test/CodeGen/Hexagon/rdf-copy.ll @@ -17,7 +17,7 @@ ; CHECK: [[DST:r[0-9]+]] = [[SRC:r[0-9]+]] ; CHECK-DAG: memw([[SRC]] ; CHECK-NOT: memw([[DST]] -; CHECK-LABEL: LBB0_2 +; CHECK: %if.end target datalayout = "e-p:32:32:32-i64:64:64-i32:32:32-i16:16:16-i1:32:32-f64:64:64-f32:32:32-v64:64:64-v32:32:32-a0:0-n16:32" target triple = "hexagon" -- cgit v1.2.3