[all-commits] [llvm/llvm-project] 88c20f: InstCombine: Add constant folding/simplify for amd...
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Fri May 22 05:35:59 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 88c20fa3d2a25ea1319c78cb1173532511879cfc
https://github.com/llvm/llvm-project/commit/88c20fa3d2a25ea1319c78cb1173532511879cfc
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2020-05-22 (Fri, 22 May 2020)
Changed paths:
M llvm/lib/Analysis/ConstantFolding.cpp
M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
A llvm/test/Transforms/InstCombine/AMDGPU/ldexp.ll
Log Message:
-----------
InstCombine: Add constant folding/simplify for amdgcn.ldexp intrinsic
This really belongs in InstructionSimplify since it doesn't introduce
new instructions. Put it in instcombine to avoid increasing the number
of passes considering target intrinsics.
I also noticed that we seem to now be interpreting strictfp attributes
on call sites, so try to handle that.
More information about the All-commits
mailing list