[llvm] [Scalarizer][DirectX] support structs return types (PR #111569)
Farzon Lotfi via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 8 10:47:20 PDT 2024
================
@@ -667,14 +685,25 @@ bool ScalarizerVisitor::splitBinary(Instruction &I, const Splitter &Split) {
bool ScalarizerVisitor::isTriviallyScalarizable(Intrinsic::ID ID) {
if (isTriviallyVectorizable(ID))
return true;
+ // TODO: investigate vectorizable frexp
+ switch (ID) {
+ case Intrinsic::frexp:
----------------
farzonl wrote:
Making this vectorizable was out of scope for this work so did not add `frexp` to `isTriviallyVectorizable`. We should do a follow up task for this.
https://github.com/llvm/llvm-project/pull/111569
More information about the llvm-commits
mailing list