commit | 09d408abd591864578d288fe8fb9266bc729b22e | [log] [tgz] |
---|---|---|
author | Farzon Lotfi <farzonlotfi@microsoft.com> | Fri Jan 17 14:46:14 2025 -0500 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Jan 17 11:52:14 2025 -0800 |
tree | 2333de6cffaa1792abd4637dec67d8fccaab4774 | |
parent | 1ac84cbb41a773cd3dcae4fb46c4698c7921ebc8 [diff] |
[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 GitOrigin-RevId: eddeb36cf1ced0e14e17ac90f60922366e382100