mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
[Hexagon] Simplify boolean expression
Patch by Richard http://reviews.llvm.org/D8523 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232955 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
de5be4657f
commit
fdfad962a4
@ -403,10 +403,7 @@ static bool DoesModifyCalleeSavedReg(MachineInstr *MI,
|
||||
// or new-value store.
|
||||
bool HexagonPacketizerList::isNewifiable(MachineInstr* MI) {
|
||||
const HexagonInstrInfo *QII = (const HexagonInstrInfo *) TII;
|
||||
if ( isCondInst(MI) || QII->mayBeNewStore(MI))
|
||||
return true;
|
||||
else
|
||||
return false;
|
||||
return isCondInst(MI) || QII->mayBeNewStore(MI);
|
||||
}
|
||||
|
||||
bool HexagonPacketizerList::isCondInst (MachineInstr* MI) {
|
||||
|
Loading…
Reference in New Issue
Block a user