• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2; RUN: llc -mtriple=x86_64-linux-gnu            -global-isel -verify-machineinstrs < %s -o - | FileCheck %s --check-prefix=ALL
3
4define i8 @test() {
5; ALL-LABEL: test:
6; ALL:       # %bb.0:
7; ALL-NEXT:    retq
8  ret i8 undef
9}
10
11define i8 @test2(i8 %a) {
12; ALL-LABEL: test2:
13; ALL:       # %bb.0:
14; ALL-NEXT:    addb %al, %dil
15; ALL-NEXT:    movl %edi, %eax
16; ALL-NEXT:    retq
17  %r = add i8 %a, undef
18  ret i8 %r
19}
20
21
22define float @test3() {
23; ALL-LABEL: test3:
24; ALL:       # %bb.0:
25; ALL-NEXT:    retq
26  ret float undef
27}
28
29define float @test4(float %a) {
30; ALL-LABEL: test4:
31; ALL:       # %bb.0:
32; ALL-NEXT:    addss %xmm0, %xmm0
33; ALL-NEXT:    retq
34  %r = fadd float %a, undef
35  ret float %r
36}
37
38