llvm/llvm-project
在 GitHub 查看getNegatedExpression should handle FP16_TO_FP and FP_TO_FP16
Open
#177,448 建立於 2026年1月22日
floating-pointgood first issuellvm:SelectionDAGmissed-optimization
倉庫指標
- Star
- (26,378 star)
- PR 合併指標
- (平均合併 1天 2小時) (30 天內合併 1,000 個 PR)
描述
getNegatedExpression does not handle the opcodes FP16_TO_FP and FP_TO_FP16, but it could. This could improve use of source modifiers on AMDGPU with illegal f16.
I started implementing it in this patch, but it requires additional work to avoid regressions.
0001-DAG-Implement-getNegatedExpression-for-FP16_TO_FP.patch