1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00
llvm-mirror/test
Rafael Espindola 3560edede3 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-10 18:22:45 +00:00
..
Analysis [BasicAA] Guard intrinsics don't write to memory 2016-05-10 02:35:41 +00:00
Assembler Make "@name =" mandatory for globals in .ll files. 2016-05-10 18:22:45 +00:00
Bindings [OCaml] Update core test and re-enable testing 2016-05-10 11:19:20 +00:00
Bitcode AMDGPU/SI: Add amdgpu_kernel calling convention. Part 1. 2016-05-06 09:07:29 +00:00
BugPoint [PR27284] Reverse the ownership between DICompileUnit and DISubprogram. 2016-04-15 15:57:41 +00:00
CodeGen Make "@name =" mandatory for globals in .ll files. 2016-05-10 18:22:45 +00:00
DebugInfo [pdb] Parse the module info stream for each module. 2016-05-09 17:45:21 +00:00
Examples
ExecutionEngine [powerpc] mark JIT tests as UNSUPPORTED on powerpc64 big endian 2016-04-26 03:59:19 +00:00
Feature Make "@name =" mandatory for globals in .ll files. 2016-05-10 18:22:45 +00:00
FileCheck
Instrumentation [MSan] [AArch64] Fix vararg helper for >1 or non-int fixed arguments. 2016-05-09 20:57:36 +00:00
Integer Make "@name =" mandatory for globals in .ll files. 2016-05-10 18:22:45 +00:00
JitListener [PR27284] Reverse the ownership between DICompileUnit and DISubprogram. 2016-04-15 15:57:41 +00:00
LibDriver LibDriver: Silently do nothing when provided no inputs. 2016-04-13 19:36:04 +00:00
Linker Make "@name =" mandatory for globals in .ll files. 2016-05-10 18:22:45 +00:00
LTO Allow the LTO code generator to strip invalid debug info from the input. 2016-05-09 19:57:15 +00:00
MC [mips][ias] Make the default path unreachable in needsRelocateWithSymbol() (except for N64). 2016-05-10 12:17:04 +00:00
Object Clean up the specific error message for a malformed Mach-O files with bad segment 2016-05-05 17:43:35 +00:00
Other Add opt-bisect support to additional passes that can be skipped 2016-05-03 22:32:30 +00:00
SymbolRewriter
TableGen Introduce a "patchable-function" function attribute 2016-04-19 05:24:47 +00:00
ThinLTO/X86 [ThinLTO] Add option to emit imports files for distributed backends 2016-05-10 15:54:09 +00:00
tools [ThinLTO] Add option to emit imports files for distributed backends 2016-05-10 15:54:09 +00:00
Transforms Make "@name =" mandatory for globals in .ll files. 2016-05-10 18:22:45 +00:00
Unit Replace hardcoded comment at 'lit.site.cfg.in' 2016-04-16 06:47:41 +00:00
Verifier Verifier: Verify that each inlinable callsite of a debug-info-bearing function 2016-04-24 22:23:13 +00:00
YAMLParser
.clang-format
CMakeLists.txt Moving llvm-test-depends and test-depends into the Tests folder; NFC, this simply cleans up the generated solution so that these targets don't live in the root folder of the IDE. 2016-04-12 15:09:14 +00:00
lit.cfg Add llvm-pdbdump to the tool substitutions list in lit. NFC. 2016-05-02 16:51:26 +00:00
lit.site.cfg.in Replace hardcoded comment at 'lit.site.cfg.in' 2016-04-16 06:47:41 +00:00
TestRunner.sh