| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
out of each opcode's handler. Change ret over so far.
llvm-svn: 92298
|
|
|
|
|
|
| |
accept invalid input. Actually add a testcase.
llvm-svn: 92297
|
|
|
|
|
|
|
| |
used by other things. Convert it to a vector since it is a dense
numbering.
llvm-svn: 92293
|
|
|
|
| |
llvm-svn: 92292
|
|
|
|
|
|
| |
you'd expect.
llvm-svn: 92291
|
|
|
|
| |
llvm-svn: 92288
|
|
|
|
| |
llvm-svn: 92287
|
|
|
|
|
|
|
| |
This exposed a raft of other problems, which I'll deal with in subsequent
patches.
llvm-svn: 92273
|
|
|
|
|
|
|
| |
be RAUW'd and go to null. This also gets us some sorely lacking
type safety.
llvm-svn: 92272
|
|
|
|
| |
llvm-svn: 92211
|
|
|
|
|
|
| |
instruction. Extend ParseParameterList() to use this new function so that calls to llvm.dbg.declare can pass inline metadata
llvm-svn: 90497
|
|
|
|
|
|
| |
This fixes PR5393.
llvm-svn: 86091
|
|
|
|
|
|
|
|
|
| |
$ llvm-as foo.ll -d -disable-output
which reads and prints the .ll file. BC encoding is the
next project. Testcase will go in once that works.
llvm-svn: 85368
|
|
|
|
| |
llvm-svn: 85351
|
|
|
|
|
|
|
| |
(assembler,asmprinter, bc reader+writer) and document it. Codegen
currently aborts on it.
llvm-svn: 85274
|
|
|
|
|
|
|
| |
Update all analysis passes and transforms to treat free calls just like FreeInst.
Remove RaiseAllocations and all its tests since FreeInst no longer needs to be raised.
llvm-svn: 84987
|
|
|
|
|
|
|
|
| |
Update testcases that rely on malloc insts being present.
Also prematurely remove MallocInst handling from IndMemRemoval and RaiseAllocations to help pass tests in this incremental step.
llvm-svn: 84292
|
|
|
|
| |
llvm-svn: 83033
|
|
|
|
| |
llvm-svn: 83016
|
|
|
|
|
|
| |
causes regressions in the nightly tests.
llvm-svn: 82784
|
|
|
|
|
|
| |
Reviewed by Devang Patel.
llvm-svn: 82694
|
|
|
|
| |
llvm-svn: 82175
|
|
|
|
| |
llvm-svn: 80773
|
|
|
|
|
|
|
| |
and unnamed numbered global variables as "@0 = global ...". Extend the
AsmParser to recognize these forms.
llvm-svn: 78859
|
|
|
|
| |
llvm-svn: 77410
|
|
|
|
|
|
| |
METADATA_BLOCK in bitcode file.
llvm-svn: 76834
|
|
|
|
|
|
|
| |
Derive MDString directly from MetadataBase.
Introduce new bitcode block to hold metadata.
llvm-svn: 76759
|
|
|
|
| |
llvm-svn: 76455
|
|
|
|
| |
llvm-svn: 75031
|
|
|
|
| |
llvm-svn: 74934
|
|
|
|
| |
llvm-svn: 74735
|
|
|
|
| |
llvm-svn: 74734
|
|
|
|
| |
llvm-svn: 74703
|
|
|
|
|
|
| |
breakage this time.
llvm-svn: 74671
|
|
|
|
|
|
|
|
|
|
|
| |
U include/llvm/LLVMContext.h
U lib/VMCore/LLVMContext.cpp
U lib/AsmParser/LLParser.cpp
U lib/AsmParser/LLParser.h
Temporarily reverting r74648. It was causing massive failures in release mode.
llvm-svn: 74653
|
|
|
|
| |
llvm-svn: 74648
|
|
|
|
|
|
|
| |
!0 = constant metadata !{i32 21, i32 22}
@llvm.blah = constant metadata !{i32 1000, i16 200, metadata !0}
llvm-svn: 74630
|
|
|
|
|
|
|
| |
Constant* in preperation of a future change to support holding non-Constants
in an MDNode.
llvm-svn: 71407
|
|
|
|
|
|
|
|
| |
Constant, MDString and MDNode which can only be used by globals with a name
that starts with "llvm." or as arguments to a function with the same naming
restriction.
llvm-svn: 68420
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
validate an invariant so that the asmparser rejects a bad construct
instead of the verifier. Before:
llvm-as: assembly parsed, but does not verify as correct!
Invalid struct return type!
i64 (%struct.Type*, %struct.Type*)* @foo
after:
llvm-as: t.ll:5:8: functions with 'sret' argument must return void
define i64 @foo(%struct.Type* noalias nocapture sret %agg.result, %struct.Type* nocapture byval %t) nounwind {
^
Second, check that void is only used where allowed (in function return types) not in
arbitrary places, fixing PR3747 - Crash in llvm-as with void field in struct. We
now reject that example with:
$ llvm-as t.ll
llvm-as: t.ll:1:12: struct element can not have void type
%x = type {void}
^
llvm-svn: 66394
|
|
|
|
|
|
|
|
| |
llvm-as: accepted03.ll:1:35: invalid unresolved type up reference
declare void @r({ \7, opaque, \10 } %su)
^
llvm-svn: 61725
|
|
|
|
|
|
|
|
| |
llvm-as: crash08.ll:3:15: invalid operand type for instruction
"qp" = sdiv fp128 0x1, %30
^
llvm-svn: 61684
|
|
|
|
|
|
|
| |
llvm-as: crash07.ll:2:32: va_arg requires operand with first class type
%y = va_arg [52 x <{}>] %43, double (...) sspreq
^
llvm-svn: 61683
|
|
|
|
|
|
|
| |
ParseAssemblyString with a specified module would not parse
into the module, it would create and return a new one.
llvm-svn: 61635
|
|
|
|
| |
llvm-svn: 61594
|
|
|
|
| |
llvm-svn: 61564
|
|
and clean recursive descent parser.
This change has a couple of ramifications:
1. The parser code is about 400 lines shorter (in what we maintain, not
including what is autogenerated).
2. The code should be significantly faster than the old code because we
don't have to work around bison's poor handling of datatypes with
ctors/dtors. This also makes the code much more resistant to memory
leaks.
3. We now get caret diagnostics from the .ll parser, woo.
4. The actual diagnostics emited from the parser are completely different
so a bunch of testcases had to be updated.
5. I now disallow "%ty = type opaque %ty = type i32". There was no good
reason to support this, it was just an accident of the old
implementation. I have no reason to think that anyone is actually using
this.
6. The syntax for sticking a global variable has changed to make it
unambiguous. I don't think anyone is depending on this since only clang
supports this and it is not solid yet, so I'm not worried about anything
breaking.
7. This gets rid of the last use of bison, and along with it the .cvs files.
I'll prune this from the makefiles as a subsequent commit.
There are a few minor cleanups that can be done after this commit (suggestions
welcome!) but this passes dejagnu testing and is ready for its time in the
limelight.
llvm-svn: 61558
|