Skip to content

Commit a4deacf

Browse files
committed
[𝘀𝗽𝗿] changes introduced through rebase
Created using spr 1.3.5 [skip ci]
1 parent 5e8bff2 commit a4deacf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Target/Sparc/SparcInstrVIS.td

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,7 @@ def : Pat<(i64 (mulhu i64:$lhs, i64:$rhs)), (UMULXHI $lhs, $rhs)>;
299299
// Signed "MULXHI".
300300
// Based on the formula presented in OSA2011 §7.140, but with bitops to select
301301
// the values to be added.
302+
// TODO: This expansion should probably be moved to DAG legalization phase.
302303
def : Pat<(i64 (mulhs i64:$lhs, i64:$rhs)),
303304
(SUBrr (UMULXHI $lhs, $rhs),
304305
(ADDrr (ANDrr (SRAXri $lhs, 63), $rhs),

0 commit comments

Comments
 (0)