[SelectionDAG] Use the memory VT instead of result VT for FoldingSet profiling in...
authorCraig Topper <craig.topper@intel.com>
Sun, 30 Jun 2019 06:46:33 +0000 (06:46 +0000)
committerCraig Topper <craig.topper@intel.com>
Sun, 30 Jun 2019 06:46:33 +0000 (06:46 +0000)
commit4d0feb28ecbe177600d7081b2ad80c099732a970
tree738a34c3091f7847a5115b0f16d71c5eee802139
parent6293cd05045cfd45dd934f3f559e4b066fe7ae30
[SelectionDAG] Use the memory VT instead of result VT for FoldingSet profiling in getMaskedLoad/getMaskedStore.

This matches what is done by the Profile function. Otherwise CSE
won't work properly.

llvm-svn: 364717
llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp