Add comment re byval args. Doesn't actually work this way yet.
xs llvm-svn: 102316
This commit is contained in:
parent
861eb80a3b
commit
1fc01985a3
|
@ -340,6 +340,8 @@ bool FastISel::SelectCall(const User *I) {
|
|||
return true;
|
||||
const AllocaInst *AI = dyn_cast<AllocaInst>(Address);
|
||||
// Don't handle byval struct arguments or VLAs, for example.
|
||||
// Note that if we have a byval struct argument, fast ISel is turned off;
|
||||
// those are handled in SelectionDAGBuilder.
|
||||
if (!AI) break;
|
||||
DenseMap<const AllocaInst*, int>::iterator SI =
|
||||
StaticAllocaMap.find(AI);
|
||||
|
|
Loading…
Reference in New Issue