[PATCH] D34077: DAGCombine: Combine BUILD_VECTOR to TRUNCATE

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 12 21:06:56 PDT 2017


arsenm added inline comments.


================
Comment at: llvm/trunk/include/llvm/Target/TargetLowering.h:2737
+  // v4i32 truncate (bitcast V to v4i64)
+  virtual bool isDesirableToCombineBuildVectorToTruncate() const {
+    return false;
----------------
This probably needs some context parameters for types it's applying to


Repository:
  rL LLVM

https://reviews.llvm.org/D34077





More information about the llvm-commits mailing list