[DAG] Correctly chain masked loads
authorMichael Kuperstein <mkuper@google.com>
Wed, 13 Jul 2016 23:23:40 +0000 (23:23 +0000)
committerMichael Kuperstein <mkuper@google.com>
Wed, 13 Jul 2016 23:23:40 +0000 (23:23 +0000)
commitbe837fa40f12543ea4120cdd09ffcfc2535b13c5
tree956e4206a3340a645922bc0801aa3ef88e78a2d5
parent296e9785ba820372831ef7a74f93a4399507d3eb
[DAG] Correctly chain masked loads

If a masked loads is not added to the chain, it should not reset the chain's
root.

This fixes the remaining part of PR28515.

llvm-svn: 275340
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
llvm/test/CodeGen/X86/pr28515.ll [new file with mode: 0644]