A CCState was being created without setting whether it is in the Call or Prologue...
authorCameron Zwarich <zwarich@apple.com>
Thu, 9 Jun 2011 22:30:07 +0000 (22:30 +0000)
committerCameron Zwarich <zwarich@apple.com>
Thu, 9 Jun 2011 22:30:07 +0000 (22:30 +0000)
commita2e979565b2704ccb76d8e8d384723702b770c53
tree3390d327c03014808d878f197e126c9176ac7fb8
parent2a6d9eb10bc268df18ff57531c34b8928f858471
A CCState was being created without setting whether it is in the Call or Prologue state,
causing an assertion failure downstream. This fixes <rdar://problem/9562908>.

This really seems like it should always be set at CCState creation time, so mistakes like
this can never happen. I'll take a look at doing that.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132811 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMISelLowering.cpp
test/CodeGen/ARM/2011-06-09-TailCallByVal.ll [new file with mode: 0644]