commit | 4350eb86a7cdc83fa6a5f4819a7f0534ace5cd58 | [log] [tgz] |
---|---|---|
author | Evan Cheng <evan.cheng@apple.com> | Fri Feb 06 17:17:30 2009 +0000 |
committer | Evan Cheng <evan.cheng@apple.com> | Fri Feb 06 17:17:30 2009 +0000 |
tree | 832a8134aebec5dbb85db231c42c9dc2727c4ec6 | |
parent | b3a021cdb3d26ddb2985e326ba0cb96761b86f69 [diff] |
Add TargetInstrInfo::isSafeToMoveRegisterClassDefs. It returns true if it's safe to move an instruction which defines a value in the register class. Replace pre-splitting specific IgnoreRegisterClassBarriers with this new hook. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63936 91177308-0d34-0410-b5e6-96231b3b80d8