• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2; RUN: llc < %s -mtriple=x86_64-- -mattr=+sse2 | FileCheck %s
3; PR1264
4
5define double @foo(double %x) {
6; CHECK-LABEL: foo:
7; CHECK:       # %bb.0:
8; CHECK-NEXT:    mulsd {{.*}}(%rip), %xmm0
9; CHECK-NEXT:    retq
10        %y = fmul double %x, 5.000000e-01
11        ret double %y
12}
13