Revision d9b2fe601b793741633d77606c4618e63612fbb2 authored by Chris Lattner on 10 January 2016, 04:17:56 UTC, committed by Chris Lattner on 10 January 2016, 04:17:56 UTC
1 parent 0fbbf59
Raw File
strip_debug_info.sil
// RUN: %target-sil-opt -enable-sil-verify-all -strip-debug-info %s | FileCheck %s

sil_stage canonical

import Swift
import Builtin

// CHECK-LABEL: sil @test
// CHECK: bb0
// CHECK-NEXT: tuple
// CHECK-NEXT: return
sil @test : $@convention(thin) <T> (@inout T, Builtin.Int64) -> () {
bb0(%0 : $*T, %1 : $Builtin.Int64):
  debug_value_addr %0 : $*T
  debug_value %1 : $Builtin.Int64
  %2 = tuple ()
  return %2 : $()
}
back to top