diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2023-07-30 20:37:49 -0400 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2023-08-04 21:01:44 -0400 |
commit | b0f4b6587a8e1044f6e4e1e117cc166586678ee5 (patch) | |
tree | a526ab6678b4cbd1c44d45037281dced10255ab4 /llvm/docs/CommandGuide | |
parent | f9d505316bb40339010a95d1f68dba83252e708d (diff) | |
download | llvm-b0f4b6587a8e1044f6e4e1e117cc166586678ee5.zip llvm-b0f4b6587a8e1044f6e4e1e117cc166586678ee5.tar.gz llvm-b0f4b6587a8e1044f6e4e1e117cc166586678ee5.tar.bz2 |
AMDGPU: Delete probably wrong constant folding of expm1
It's not really correct to implement this as exp(x) - 1, it was maybe
OK for the restricted float-as-double case handled here. There's not a
strong reason to special case it with the host function, as the
implementation naturally constant folds anyway. InstSimplify can fully
handle everything in it, so just running the inliner alone with a
constant argument produces the fully constant folded result. This also
had no tests.
https://reviews.llvm.org/D156892
Diffstat (limited to 'llvm/docs/CommandGuide')
0 files changed, 0 insertions, 0 deletions