1*9880d681SAndroid Build Coastguard Worker; RUN: opt < %s -cost-model -analyze -mtriple=powerpc64-unknown-linux-gnu -mcpu=pwr7 -mattr=-vsx | FileCheck %s 2*9880d681SAndroid Build Coastguard Workertarget datalayout = "E-m:e-i64:64-n32:64" 3*9880d681SAndroid Build Coastguard Workertarget triple = "powerpc64-unknown-linux-gnu" 4*9880d681SAndroid Build Coastguard Worker 5*9880d681SAndroid Build Coastguard Workerdefine void @exts() { 6*9880d681SAndroid Build Coastguard Worker 7*9880d681SAndroid Build Coastguard Worker ; VSX is disabled, so this cost needs to include scalarization (because 8*9880d681SAndroid Build Coastguard Worker ; <4 x double> is legalized to scalars). 9*9880d681SAndroid Build Coastguard Worker ; CHECK: cost of 44 {{.*}} fcmp 10*9880d681SAndroid Build Coastguard Worker %v1 = fcmp ugt <4 x double> undef, undef 11*9880d681SAndroid Build Coastguard Worker 12*9880d681SAndroid Build Coastguard Worker ret void 13*9880d681SAndroid Build Coastguard Worker} 14*9880d681SAndroid Build Coastguard Worker 15