OSDN Git Service

[X86] Enable load folding in the test shrinking code
authorCraig Topper <craig.topper@intel.com>
Mon, 1 Oct 2018 17:10:50 +0000 (17:10 +0000)
committerCraig Topper <craig.topper@intel.com>
Mon, 1 Oct 2018 17:10:50 +0000 (17:10 +0000)
commitf0bd8cc3086dce06b6f770d998e17445fba42877
treee29c3bf0d87c0e5276ff6dc645a5da2fdfbb5a89
parentb023cfc60d26990ed739aaf2424ddfa184c786b8
[X86] Enable load folding in the test shrinking code

This patch adds load folding support to the test shrinking code. This was noticed missing in the review for D52669

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@343499 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelDAGToDAG.cpp
test/CodeGen/X86/test-shrink.ll