HomePhabricator

[NFC] Use ConvertOpToLLVMPattern instead of ConvertToLLVMPattern.

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

Description

[NFC] Use ConvertOpToLLVMPattern instead of ConvertToLLVMPattern.

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

Differential Revision: https://reviews.llvm.org/D92989