mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-10 02:25:47 +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:
@@ -403,10 +403,7 @@ static bool DoesModifyCalleeSavedReg(MachineInstr *MI,
|
|||||||
// or new-value store.
|
// or new-value store.
|
||||||
bool HexagonPacketizerList::isNewifiable(MachineInstr* MI) {
|
bool HexagonPacketizerList::isNewifiable(MachineInstr* MI) {
|
||||||
const HexagonInstrInfo *QII = (const HexagonInstrInfo *) TII;
|
const HexagonInstrInfo *QII = (const HexagonInstrInfo *) TII;
|
||||||
if ( isCondInst(MI) || QII->mayBeNewStore(MI))
|
return isCondInst(MI) || QII->mayBeNewStore(MI);
|
||||||
return true;
|
|
||||||
else
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool HexagonPacketizerList::isCondInst (MachineInstr* MI) {
|
bool HexagonPacketizerList::isCondInst (MachineInstr* MI) {
|
||||||
|
Reference in New Issue
Block a user