Implemented FComparePattern and IComparePattern classes that provide conversion of SPIR-V comparison ops (such as spv.FOrdGreaterThanEqual and others) to LLVM dialect. Also added tests in comparison-ops-to-llvm.mlir.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
- [MLIR][SPIRVToLLVM] Restyled comments and restructured patterns
- [MLIR][SPIRVToLLVM] Refactored code with git-clang
Restyled comments for comparison patterns to be one liners. Included comments in pattern population that specify the group of ops, also sorted each group alphabetically.
Comment Actions
The parent commit has landed. Could you rebase this against master so I can land this too?
Comment Actions
- [MLIR][SPIRVToLLVM] Restyled comments and restructured patterns
- [MLIR][SPIRVToLLVM] Refactored the code to follow clang style
Rebased this patch against master to include changes to DirectPatternClass.
This line can be reflowed to the above line?