diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-02-18 23:17:51 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-02-18 23:17:51 +0000 |
commit | 5c9a17732bf07b2de850bd03e64c1dfa4030a50f (patch) | |
tree | 902d7e8be001b1062d1b119d62fca51aa87ca631 /llvm/lib/Object/IRObjectFile.cpp | |
parent | 7bb0738d825d0f8e0e3f36f945e9ae47c9b904f0 (diff) | |
download | llvm-5c9a17732bf07b2de850bd03e64c1dfa4030a50f.zip llvm-5c9a17732bf07b2de850bd03e64c1dfa4030a50f.tar.gz llvm-5c9a17732bf07b2de850bd03e64c1dfa4030a50f.tar.bz2 |
IR: Allow MDSubrange to have 'count: -1'
It turns out that `count: -1` is a special value indicating an empty
array, such as `Values` in:
struct T {
unsigned Count;
int Values[];
};
Handle it.
llvm-svn: 229769
Diffstat (limited to 'llvm/lib/Object/IRObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions