[all-commits] [llvm/llvm-project] 3e3e41: [InstSimplify] Support all instructions in simplif...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Mon Apr 24 06:25:45 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3e3e41b263f4aa76a5a36f02727827bebccdbf07
https://github.com/llvm/llvm-project/commit/3e3e41b263f4aa76a5a36f02727827bebccdbf07
Author: Nikita Popov <npopov at redhat.com>
Date: 2023-04-24 (Mon, 24 Apr 2023)
Changed paths:
M llvm/lib/Analysis/InstructionSimplify.cpp
M llvm/test/Transforms/InstSimplify/select-maxmin.ll
Log Message:
-----------
[InstSimplify] Support all instructions in simplifyWithOpReplaced()
Instead of hardcoding a few instruction kinds, use the generic
interface now that we have it.
The primary effect of this is that intrinsics are now supported.
It's worth noting that this is still limited in that it does not
support vectors, so we can't remove e.g. existing fshl special
cases.
More information about the All-commits
mailing list