| commit | 04f72fc955c89553167bafe21261325a37e40e98 | [log] [tgz] |
|---|---|---|
| author | Evan Cheng <evan.cheng@apple.com> | Wed Jul 01 08:29:08 2009 +0000 |
| committer | Evan Cheng <evan.cheng@apple.com> | Wed Jul 01 08:29:08 2009 +0000 |
| tree | 68e4ecf5fe5fca37d97441de73f0f6df026a9cc8 | |
| parent | 2a5efe14a7e94a3cdd43dfb8191e93a04646b217 [diff] |
CommuteChangesDestination() should check if to-be-commuted instruction defines any register. Also teaches the default commuteInstruction() to commute instruction without definitions (e.g. X86::test / ARM::tsp). llvm-svn: 74602