diff options
author | Farzon Lotfi <farzonlotfi@microsoft.com> | 2025-01-17 14:46:14 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-17 14:46:14 -0500 |
commit | eddeb36cf1ced0e14e17ac90f60922366e382100 (patch) | |
tree | c6e9637aec0f6cc3fd99102d0c3077436c710a3d /llvm/lib/Object/WasmObjectFile.cpp | |
parent | 6716ce8b641f0e42e2343e1694ee578b027be0c4 (diff) | |
download | llvm-eddeb36cf1ced0e14e17ac90f60922366e382100.zip llvm-eddeb36cf1ced0e14e17ac90f60922366e382100.tar.gz llvm-eddeb36cf1ced0e14e17ac90f60922366e382100.tar.bz2 |
[SPIRV] add pre legalization instruction combine (#122839)
- Add the boilerplate to support instcombine in SPIRV
- instcombine length(X-Y) to distance(X,Y)
- switch HLSL's distance intrinsic to not special case for SPIRV.
- fixes #122766
- This RFC we were requested to add in the infra for pattern matching:
https://discourse.llvm.org/t/rfc-add-targetbuiltins-for-spirv-to-support-hlsl/83329/13
Diffstat (limited to 'llvm/lib/Object/WasmObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions