summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86ISelLowering.h
diff options
context:
space:
mode:
authorWei Mi <wmi@google.com>2017-10-12 00:24:52 +0000
committerWei Mi <wmi@google.com>2017-10-12 00:24:52 +0000
commit1736efd16a9c9b5addf398d89c2145fb217129c4 (patch)
treecd464aaf3edde41938c89de8c1083cf232960b64 /llvm/lib/Target/X86/X86ISelLowering.h
parent9c0126ec0b4f49f4af42df94c1a8a2b4fa8084fe (diff)
downloadbcm5719-llvm-1736efd16a9c9b5addf398d89c2145fb217129c4.tar.gz
bcm5719-llvm-1736efd16a9c9b5addf398d89c2145fb217129c4.zip
Revert r307036 because of PR34919.
llvm-svn: 315540
Diffstat (limited to 'llvm/lib/Target/X86/X86ISelLowering.h')
-rw-r--r--llvm/lib/Target/X86/X86ISelLowering.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/llvm/lib/Target/X86/X86ISelLowering.h b/llvm/lib/Target/X86/X86ISelLowering.h
index 1ebe43c0f7e..272dc615009 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.h
+++ b/llvm/lib/Target/X86/X86ISelLowering.h
@@ -725,19 +725,6 @@ namespace llvm {
SDValue PerformDAGCombine(SDNode *N, DAGCombinerInfo &DCI) const override;
- // Return true if it is profitable to combine a BUILD_VECTOR to a TRUNCATE
- // for given operand and result types.
- // Example of such a combine:
- // v4i32 build_vector((extract_elt V, 0),
- // (extract_elt V, 2),
- // (extract_elt V, 4),
- // (extract_elt V, 6))
- // -->
- // v4i32 truncate (bitcast V to v4i64)
- bool isDesirableToCombineBuildVectorToTruncate() const override {
- return true;
- }
-
// Return true if it is profitable to combine a BUILD_VECTOR with a
// stride-pattern to a shuffle and a truncate.
// Example of such a combine:
OpenPOWER on IntegriCloud