commit | efb8e3e113cbf359d6a838c3b37fedc8305d19bb | [log] [tgz] |
---|---|---|
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | Tue Aug 04 20:09:25 2009 +0000 |
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | Tue Aug 04 20:09:25 2009 +0000 |
tree | b59d2a13fc2395df49dfa90e074abe586d5e137c | |
parent | ded2e3b0d02998b3bb99b5089d05fca1e0097868 [diff] |
Don't tamper with <undef> operands in MachineInstr::addRegisterKilled. For an undef operand, MO.getReg() is meaningless and we should not use it. Undef operands should be skipped entirely. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78095 91177308-0d34-0410-b5e6-96231b3b80d8