2
0

cmp-expanded.ll 437 B

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