From 344d68d3c9d3b85f41787f5120b22cf8180402be Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Fri, 3 May 2019 15:08:36 +0000 Subject: [PATCH] AMDGPU: Remove redundant patterns for shifts llvm-svn: 359895 --- llvm/lib/Target/AMDGPU/VOP2Instructions.td | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/llvm/lib/Target/AMDGPU/VOP2Instructions.td b/llvm/lib/Target/AMDGPU/VOP2Instructions.td index 33b4cb774a50..3d7c75a3a04f 100644 --- a/llvm/lib/Target/AMDGPU/VOP2Instructions.td +++ b/llvm/lib/Target/AMDGPU/VOP2Instructions.td @@ -519,11 +519,9 @@ class DivergentClampingBinOp : ) >; -let AddedComplexity = 1 in { - def : DivergentBinOp; - def : DivergentBinOp; - def : DivergentBinOp; -} +def : DivergentBinOp; +def : DivergentBinOp; +def : DivergentBinOp; let SubtargetPredicate = HasAddNoCarryInsts in { def : DivergentBinOp; @@ -534,12 +532,9 @@ let SubtargetPredicate = isGFX6GFX7GFX8GFX9, Predicates = [isGFX6GFX7GFX8GFX9] i def : DivergentBinOp; def : DivergentBinOp; -def : DivergentBinOp; -def : DivergentBinOp; -def : DivergentBinOp; -} def : DivergentBinOp; def : DivergentBinOp; +} class divergent_i64_BinOp : GCNPat<