Further preparation for the expansion of MUL_LOHI added in D24956.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 1632 Build 1632: arc lint + arc unit
Event Timeline
Comment Actions
This is much easier to understand; thanks.
lib/CodeGen/SelectionDAG/TargetLowering.cpp | ||
---|---|---|
3110 | Did you mean "(Signed && HasSMUL_LOHI) || (!Signed && HasUMUL_LOHI)"? |
lib/CodeGen/SelectionDAG/TargetLowering.cpp | ||
---|---|---|
3110 | 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 | Is it a good idea to have variables named DL and dl? I realise that they are different types but still... |
Did you mean "(Signed && HasSMUL_LOHI) || (!Signed && HasUMUL_LOHI)"?