[PATCH] D84110: [ARM] Constant fold VCTP intrinsics

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 20 21:16:27 PDT 2020


efriedma added a comment.

We might want to look at migrating the target-specific code into the target, similar to what we're doing for target-specific intrinsics in instcombine.



================
Comment at: llvm/lib/Analysis/ConstantFolding.cpp:2765
+        else
+          NCs.push_back(ConstantInt::get(Ty, 0));
+      }
----------------
Are these just ConstantInt::getTrue() and ConstantInt::getFalse()?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D84110/new/

https://reviews.llvm.org/D84110





More information about the llvm-commits mailing list