| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[mlir][sparse] Use the correct ABI on x86 and re-enable tests c7ec6e19d5446a448f888b33f66316cf2ec6ecae made LLVM adhere to the x86 psABI and pass bf16 in SSE registers instead of GPRs. This breaks the custom versions of runtime functions we have for bf16 conversion. A great fix for this would be to use __bf16 types instead which carry the right ABI, but that type isn't widely available. Instead just pretend it's a 32 bit float on the ABI boundary and carefully cast it to the right type. Fixes #57042 (cherry picked from commit f695554a2a5550ae40da35af9ac22bfcca5db09a) | 3 年前 | |
[mlir] Remove VectorToROCDL Between issues such as https://github.com/llvm/llvm-project/issues/56323, the fact that this lowering (unlike the code in amdgpu-to-rocdl) does not correctly set up bounds checks (and thus will cause page faults on reads that might need to be padded instead), and that fixing these problems would, essentially, involve replicating amdgpu-to-rocdl, remove --vector-to-rocdl for being broken. In addition, the lowering does not support many aspects of transfer_{read,write}, like supervectors, and may not work correctly in their presence. We (the MLIR-based convolution generator at AMD) do not use this conversion pass, nor are we aware of any other clients. Migration strategies: - Use VectorToLLVM - If buffer ops are particularly needed in your application, use amdgpu.raw_buffer_{load,store} A VectorToAMDGPU pass may be introduced in the future. Reviewed By: ThomasRaoux Differential Revision: https://reviews.llvm.org/D129308 | 3 年前 | |
[mlir][sparse] Add complex number reading from files. Support complex numbers for Matrix Market Exchange Formats. Add a test case. Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D127138 | 3 年前 | |
[mlir] Clean up boolean flags usage in LIT tests * Call llvm_canonicalize_cmake_booleans for all CMake options, which are propagated to lit.local.cfg files. * Use Python native boolean values instead of strings for such options. This fixes the cases, when CMake variables have values other than ON (like TRUE). This might happen due to IDE integration or due to CMake preset usage. Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D110073 | 4 年前 |