[all-commits] [llvm/llvm-project] bb5c38: [InstCombine] Optimise x / sqrt(y / z) with fast-m...
Zain Jaffal via All-commits
all-commits at lists.llvm.org
Fri Feb 9 09:24:53 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bb5c3899d1936ebdf7ebf5ca4347ee2e057bee7f
https://github.com/llvm/llvm-project/commit/bb5c3899d1936ebdf7ebf5ca4347ee2e057bee7f
Author: Zain Jaffal <zain at jjaffal.com>
Date: 2024-02-09 (Fri, 09 Feb 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
M llvm/test/Transforms/InstCombine/fdiv-sqrt.ll
Log Message:
-----------
[InstCombine] Optimise x / sqrt(y / z) with fast-math pattern. (#76737)
Replace the pattern with
x * sqrt(z/y)
---------
Co-authored-by: Matt Arsenault <arsenm2 at gmail.com>
More information about the All-commits
mailing list