This is an archive of the discontinued LLVM Phabricator instance.

[DAGCombiner][NFC] Tidy up unnecessary brackets in visitADD.
ClosedPublic

Authored by Jimerlife on Aug 18 2022, 12:29 AM.

Diff Detail

Event Timeline

Jimerlife created this revision.Aug 18 2022, 12:29 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 18 2022, 12:29 AM
Jimerlife requested review of this revision.Aug 18 2022, 12:29 AM
RKSimon added inline comments.Aug 18 2022, 12:31 AM
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
3723

this isn't nfc - handle it in a seperate patch, preferably with a test

Jimerlife retitled this revision from [DAGCombiner][NFC] Remove extra brackets and add use check for VSCALE. to [DAGCombiner][NFC] Remove extra brackets..
Jimerlife edited the summary of this revision. (Show Details)

address comment

Jimerlife added inline comments.Aug 18 2022, 12:40 AM
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
3723

OK, I removed this change. I will do it in next patch. Thanck you.

sdesmalen accepted this revision.Aug 18 2022, 12:41 AM

Can you update the commit message to be a little more descriptive, e.g. [DAGCombiner][NFC] Tidy up unnecessary brackets in visitADD ?

This revision is now accepted and ready to land.Aug 18 2022, 12:41 AM
Jimerlife retitled this revision from [DAGCombiner][NFC] Remove extra brackets. to [DAGCombiner][NFC] Tidy up unnecessary brackets in visitADD..Aug 18 2022, 12:42 AM
Jimerlife edited the summary of this revision. (Show Details)

Can you update the commit message to be a little more descriptive, e.g. [DAGCombiner][NFC] Tidy up unnecessary brackets in visitADD ?

OK, Thank you.

This revision was landed with ongoing or failed builds.Aug 18 2022, 12:55 AM
This revision was automatically updated to reflect the committed changes.