aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineOutliner.cpp
diff options
context:
space:
mode:
authorLei Zhang <antiagainst@google.com>2021-01-09 08:04:49 -0500
committerLei Zhang <antiagainst@google.com>2021-01-09 08:04:53 -0500
commit7c3ae48fe85f535a5e35db9898c7bf2e3baeb6b4 (patch)
treec777f92c6faf206462e7b54a44191243c4b4389a /llvm/lib/CodeGen/MachineOutliner.cpp
parent4e4df1e38d6b66083b3badb78e56b8b0f6045fd1 (diff)
downloadllvm-7c3ae48fe85f535a5e35db9898c7bf2e3baeb6b4.zip
llvm-7c3ae48fe85f535a5e35db9898c7bf2e3baeb6b4.tar.gz
llvm-7c3ae48fe85f535a5e35db9898c7bf2e3baeb6b4.tar.bz2
[mlir][spirv] Replace SPIRVOpLowering with OpConversionPattern
The dialect conversion framework was enhanced to handle type conversion automatically. OpConversionPattern already contains a pointer to the TypeConverter. There is no need to duplicate it in a separate subclass. This removes the only reason for a SPIRVOpLowering subclass. It adapts to use core infrastructure and simplifies the code. Also added a utility function to OpConversionPattern for getting TypeConverter as a certain subclass. Reviewed By: hanchung Differential Revision: https://reviews.llvm.org/D94080
Diffstat (limited to 'llvm/lib/CodeGen/MachineOutliner.cpp')
0 files changed, 0 insertions, 0 deletions