llvm/test/Bitcode/upgrade-objcretainrelease-asm.ll
Gerolf Hoflehner 753b745329 [IR] Upgrade comment token in objc retain release marker for asm call
Older compiler issued '#' instead of ';'


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@330173 91177308-0d34-0410-b5e6-96231b3b80d8
2018-04-17 04:02:24 +00:00

10 lines
368 B
LLVM

; Test that comment token for objc retain release is upgraded from '#' to ';'
;
; RUN: llvm-dis < %s.bc | FileCheck %s
define void @inlineasm() {
call void asm sideeffect "mov\09fp, fp\09\09# marker for objc_retainAutoreleaseReturnValue", ""()
;CHECK: call void asm sideeffect "mov\09fp, fp\09\09; marker for objc_retainAutoreleaseReturnValue", ""()
ret void
}