| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | IR: Make metadata typeless in assembly | Duncan P. N. Exon Smith | 2014-12-15 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that `Metadata` is typeless, reflect that in the assembly. These are the matching assembly changes for the metadata/value split in r223802. - Only use the `metadata` type when referencing metadata from a call intrinsic -- i.e., only when it's used as a `Value`. - Stop pretending that `ValueAsMetadata` is wrapped in an `MDNode` when referencing it from call intrinsics. So, assembly like this: define @foo(i32 %v) { call void @llvm.foo(metadata !{i32 %v}, metadata !0) call void @llvm.foo(metadata !{i32 7}, metadata !0) call void @llvm.foo(metadata !1, metadata !0) call void @llvm.foo(metadata !3, metadata !0) call void @llvm.foo(metadata !{metadata !3}, metadata !0) ret void, !bar !2 } !0 = metadata !{metadata !2} !1 = metadata !{i32* @global} !2 = metadata !{metadata !3} !3 = metadata !{} turns into this: define @foo(i32 %v) { call void @llvm.foo(metadata i32 %v, metadata !0) call void @llvm.foo(metadata i32 7, metadata !0) call void @llvm.foo(metadata i32* @global, metadata !0) call void @llvm.foo(metadata !3, metadata !0) call void @llvm.foo(metadata !{!3}, metadata !0) ret void, !bar !2 } !0 = !{!2} !1 = !{i32* @global} !2 = !{!3} !3 = !{} I wrote an upgrade script that handled almost all of the tests in llvm and many of the tests in cfe (even handling many `CHECK` lines). I've attached it (or will attach it in a moment if you're speedy) to PR21532 to help everyone update their out-of-tree testcases. This is part of PR21532. llvm-svn: 224257 | ||||
| * | verify-uselistorder: Force -preserve-bc-use-list-order | Duncan P. N. Exon Smith | 2014-08-19 | 1 | -1/+1 |
| | | | | | llvm-svn: 216022 | ||||
| * | verify-uselistorder: Change the default -num-shuffles=5 | Duncan P. N. Exon Smith | 2014-07-31 | 1 | -1/+1 |
| | | | | | | | | Change the default for `-num-shuffles` to 5 and better document the algorithm in the header docs of `verify-uselistorder`. llvm-svn: 214419 | ||||
| * | Rename llvm-uselistorder => verify-uselistorder | Duncan P. N. Exon Smith | 2014-07-30 | 1 | -1/+1 |
| | | | | | llvm-svn: 214318 | ||||
| * | Bitcode: Correctly compare a Use against itself | Duncan P. N. Exon Smith | 2014-07-29 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | Fix the sort of expected order in the reader to correctly return `false` when comparing a `Use` against itself. This was caught by test/Bitcode/binaryIntInstructions.3.2.ll, so I'm adding a `RUN` line using `llvm-uselistorder` for every test in `test/Bitcode` that passes. A few tests still fail, so I'll investigate those next. This is part of PR5680. llvm-svn: 214157 | ||||
| * | Use -disable-output and to suppress output and don't use a temporary file ↵ | Bill Wendling | 2013-08-20 | 1 | -2/+1 |
| | | | | | | | unless we need one. llvm-svn: 188843 | ||||
| * | Remove obsolete -f flags. | Dan Gohman | 2009-08-25 | 1 | -1/+1 |
| | | | | | llvm-svn: 79992 | ||||
| * | Use separate ValueList for metadata. | Devang Patel | 2009-08-04 | 1 | -0/+6 |
| | | | | | | | This fixes PR4666. llvm-svn: 78056 | ||||
| * | Revert recent bitcode writer patches. | Devang Patel | 2009-08-04 | 1 | -5/+0 |
| | | | | | llvm-svn: 78053 | ||||
| * | Constants and Metadata share ValueList. This means they must be emitted ↵ | Devang Patel | 2009-08-04 | 1 | -0/+5 |
| interleaved (using appropriate BLOCK_IDs) otherwise ValuePtrs index gets out of sync. llvm-svn: 78033 | |||||

