Verify 'optnone' can run DAG combiner when appropriate.
authorPaul Robinson <paul_robinson@playstation.sony.com>
Mon, 30 Mar 2015 19:37:44 +0000 (19:37 +0000)
committerPaul Robinson <paul_robinson@playstation.sony.com>
Mon, 30 Mar 2015 19:37:44 +0000 (19:37 +0000)
commit103d622517c3273d690ae76b2f7c84ceeb64bd2d
tree4ce7457fd3f562c4be2874f5ba52d6d9870b07cd
parente6d64610672b1ee31bad39062417d7c113a42799
Verify 'optnone' can run DAG combiner when appropriate.

Adds a test to verify the behavior that r233153 restored: 'optnone'
does not spuriously disable the DAG combiner, and in fact there are
cases where the DAG combiner must run (even at -O0 or 'optnone') in
order for codegen to succeed.

Differential Revision: http://reviews.llvm.org/D8614

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233584 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/X86/dag-optnone.ll [new file with mode: 0644]