diff options
-rw-r--r-- | lib/Target/Sparc/SparcInstrInfo.td | 1 | ||||
-rw-r--r-- | lib/Target/SparcV8/SparcV8InstrInfo.td | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/Sparc/SparcInstrInfo.td b/lib/Target/Sparc/SparcInstrInfo.td index e3b2e13a8f..bbba1fcba4 100644 --- a/lib/Target/Sparc/SparcInstrInfo.td +++ b/lib/Target/Sparc/SparcInstrInfo.td @@ -730,6 +730,7 @@ def : Pat<(call tglobaladdr:$dst), def : Pat<(call externalsym:$dst), (CALL externalsym:$dst)>; +def : Pat<(ret), (RETL)>; // Map integer extload's to zextloads. def : Pat<(i32 (extload ADDRrr:$src, i1)), (LDUBrr ADDRrr:$src)>; diff --git a/lib/Target/SparcV8/SparcV8InstrInfo.td b/lib/Target/SparcV8/SparcV8InstrInfo.td index e3b2e13a8f..bbba1fcba4 100644 --- a/lib/Target/SparcV8/SparcV8InstrInfo.td +++ b/lib/Target/SparcV8/SparcV8InstrInfo.td @@ -730,6 +730,7 @@ def : Pat<(call tglobaladdr:$dst), def : Pat<(call externalsym:$dst), (CALL externalsym:$dst)>; +def : Pat<(ret), (RETL)>; // Map integer extload's to zextloads. def : Pat<(i32 (extload ADDRrr:$src, i1)), (LDUBrr ADDRrr:$src)>; |