aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/SystemZ/fake-use-size.ll
blob: 1690a046aad4366046f4f8ce1bd1c12cd3bfe6ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
; RUN: llc -O0 < %s -mtriple=s390x-linux-gnu 2>&1 | FileCheck %s

;; Tests that we can handle FAKE_USE instructions, emitting a comment for them
;; in the resulting assembly.

; CHECK:      .type   idd,@function
; CHECK:      # %bb.0:
; CHECK-NEXT: # fake_use:

define double @idd(double %d) {
entry:
  notail call void (...) @llvm.fake.use(double %d)
  ret double %d
}