This is an archive of the discontinued LLVM Phabricator instance.

[NFC] Use ConvertOpToLLVMPattern instead of ConvertToLLVMPattern.
ClosedPublic

Authored by jurahul on Dec 9 2020, 6:18 PM.

Details

Summary
  • use ConvertOpToLLVMPattern to avoid explicit casting and in most cases the constructor can be reused to saves a few lines of code.

Diff Detail

Event Timeline

jurahul created this revision.Dec 9 2020, 6:18 PM
jurahul requested review of this revision.Dec 9 2020, 6:18 PM
ftynse accepted this revision.Dec 10 2020, 12:46 AM
This revision is now accepted and ready to land.Dec 10 2020, 12:46 AM
This revision was landed with ongoing or failed builds.Dec 10 2020, 9:34 AM
This revision was automatically updated to reflect the committed changes.