[llvm-commits] [llvm] r153705 - /llvm/trunk/lib/CodeGen/SelectionDAG/FastISel.cpp
Eric Christopher
echristo at apple.com
Thu Mar 29 17:13:35 PDT 2012
On Mar 29, 2012, at 5:02 PM, Bill Wendling <isanbard at gmail.com> wrote:
> 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>
Looks good. Thanks Bill!
-eric
More information about the llvm-commits
mailing list