]> granicus.if.org Git - llvm/commit
[DAG] Relax type restriction for store merge
authorNirav Dave <niravd@google.com>
Thu, 10 Aug 2017 19:52:45 +0000 (19:52 +0000)
committerNirav Dave <niravd@google.com>
Thu, 10 Aug 2017 19:52:45 +0000 (19:52 +0000)
commit86c4bd6af913ef4901820b7b11f721c6794337d4
tree16bbc721e7c55a3c3de3c76f105a05df21b89f4a
parent6f0ee4dc7878bd75afc78a924196577505a19bbc
[DAG]  Relax type restriction for store merge

Summary: Allow stores of bitcastable types to be merged by peeking through BITCAST nodes and recasting stored values constant and vector extract nodes as necessary.

Reviewers: jyknight, hfinkel, efriedma, RKSimon, spatel

Reviewed By: RKSimon

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D34569

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@310655 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/X86/MergeConsecutiveStores.ll