Further preparation for the expansion of MUL_LOHI added in D24956.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
This is much easier to understand; thanks.
lib/CodeGen/SelectionDAG/TargetLowering.cpp | ||
---|---|---|
3110 ↗ | (On Diff #79141) | Did you mean "(Signed && HasSMUL_LOHI) || (!Signed && HasUMUL_LOHI)"? |
lib/CodeGen/SelectionDAG/TargetLowering.cpp | ||
---|---|---|
3110 ↗ | (On Diff #79141) | Absolutely, thanks. Same in the if-statement below. The lit tests didn't pick this up, but I guess there aren't too many targets that have one but not the other. |
Comment Actions
Fix thinko switching signed/unsigned Has[US]MUL_LOHI and HasMULH[US] check
in MakeMUL_LOHI.
lib/CodeGen/SelectionDAG/TargetLowering.cpp | ||
---|---|---|
3145 ↗ | (On Diff #79145) | Is it a good idea to have variables named DL and dl? I realise that they are different types but still... |