Open
Description
; RUN: llvm-as < %s | llvm-dis | FileCheck %s
; CHECK: @code_model_tiny_drop = global i32 0, code_model "tiny" #0
; CHECK: attributes #0 = { align=4 }
@missing_comma_after_code_model = global i32 0, code_model "tiny" align 4
There is a missing comma after the code_model marker, before align. This should probably be rejected. I'm not sure how this ends up getting interpreted, but when printed it looks like it was mishandled. The special align directive on the global declaration is missing, and replaced with an attribute group as if it were treated as an ordinary attribute on a function