diff options
| author | Jim Grosbach <grosbach@apple.com> | 2010-07-23 23:48:02 +0000 |
|---|---|---|
| committer | Jim Grosbach <grosbach@apple.com> | 2010-07-23 23:48:02 +0000 |
| commit | ba4b1909cea0ab08fef4e911bad1927b4aef6adb (patch) | |
| tree | 87d7bcaa8e0a0d35f827dd4bf5f91cf898980035 /llvm/lib/CodeGen/MachineFunction.cpp | |
| parent | fbd7f65248809737636135d537c10a66d4c3fa9f (diff) | |
| download | llvm-ba4b1909cea0ab08fef4e911bad1927b4aef6adb.zip llvm-ba4b1909cea0ab08fef4e911bad1927b4aef6adb.tar.gz llvm-ba4b1909cea0ab08fef4e911bad1927b4aef6adb.tar.bz2 | |
Remove too-strict assertion. We may want the vreg copy of the physical register
to be of a different register class. For example, in Thumb1 if the live-in is
a high register, we want the vreg to be a low register. rdar://8224931
llvm-svn: 109291
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/MachineFunction.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineFunction.cpp b/llvm/lib/CodeGen/MachineFunction.cpp index 666120f..9a52b7b 100644 --- a/llvm/lib/CodeGen/MachineFunction.cpp +++ b/llvm/lib/CodeGen/MachineFunction.cpp @@ -397,7 +397,6 @@ void MachineFunction::viewCFGOnly() const /// create a corresponding virtual register for it. unsigned MachineFunction::addLiveIn(unsigned PReg, const TargetRegisterClass *RC) { - assert(RC->contains(PReg) && "Not the correct regclass!"); MachineRegisterInfo &MRI = getRegInfo(); unsigned VReg = MRI.getLiveInVirtReg(PReg); if (VReg) { |
