This website requires JavaScript.
Explore
Help
Sign In
maxjhandsome
/
llvm-project
forked from
OSchip/llvm-project
Watch
1
Star
0
Fork
You've already forked llvm-project
0
Code
Issues
Pull Requests
Packages
Releases
Wiki
Activity
ebfe01c121
llvm-project
/
llvm
/
test
/
Assembler
/
invalid-hexint.ll
5 lines
100 B
LLVM
Raw
Normal View
History
Unescape
Escape
Forgot to add test for r223856 llvm-svn: 223857
2014-12-10 07:51:14 +08:00
; RUN: not llvm-as < %s 2>&1 | FileCheck %s
Make "@name =" mandatory for globals in .ll files. An oddity of the .ll syntax is that the "@var = " in @var = global i32 42 is optional. Writing just global i32 42 is equivalent to @0 = global i32 42 This means that there is a pretty big First set at the top level. The current implementation maintains it manually. I was trying to refactor it, but then started wondering why keep it a all. I personally find the above syntax confusing. It looks like something is missing. This patch removes the feature and simplifies the parser. llvm-svn: 269096
2016-05-11 02:22:45 +08:00
@0
=
global
i64
u
0x0
p
001
Forgot to add test for r223856 llvm-svn: 223857
2014-12-10 07:51:14 +08:00
; CHECK: expected value token