diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-03-30 00:02:55 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-03-30 00:02:55 +0000 |
commit | 9f829f1cc4799e27ef02904b1bbdfd12a2a01424 (patch) | |
tree | ec97a5ea66d02699d5518fb946d9c09a6d498eec /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 323a5ced21cad2862d84e85a2444ba6fce7240f9 (diff) | |
download | llvm-9f829f1cc4799e27ef02904b1bbdfd12a2a01424.zip llvm-9f829f1cc4799e27ef02904b1bbdfd12a2a01424.tar.gz llvm-9f829f1cc4799e27ef02904b1bbdfd12a2a01424.tar.bz2 |
If we have a VLA that has a "use" in a metadata node that's then used
here but it has no other uses, then we have a problem. E.g.,
int foo (const int *x) {
char a[*x];
return 0;
}
If we assign 'a' a vreg and fast isel later on has to use the selection
DAG isel, it will want to copy the value to the vreg. However, there are
no uses, which goes counter to what selection DAG isel expects.
<rdar://problem/11134152>
llvm-svn: 153705
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions