[all-commits] [llvm/llvm-project] 641de8: [DirectX] legalize powi (#135228)
Farzon Lotfi via All-commits
all-commits at lists.llvm.org
Thu Apr 10 13:40:27 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 641de84d3b3112b80683875af1fc01c45bc1afb3
https://github.com/llvm/llvm-project/commit/641de84d3b3112b80683875af1fc01c45bc1afb3
Author: Farzon Lotfi <farzonlotfi at microsoft.com>
Date: 2025-04-10 (Thu, 10 Apr 2025)
Changed paths:
M llvm/lib/Target/DirectX/DXILIntrinsicExpansion.cpp
M llvm/test/CodeGen/DirectX/pow.ll
Log Message:
-----------
[DirectX] legalize powi (#135228)
fixes #135221
- have powi use the same legalization path as pow
- use CreateSIToFP to cast the int back to a float type
- add tests for powi
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list