[dfsan] Introduce an optimization to reduce the number of union queries.
authorPeter Collingbourne <peter@pcc.me.uk>
Tue, 15 Jul 2014 04:41:17 +0000 (04:41 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Tue, 15 Jul 2014 04:41:17 +0000 (04:41 +0000)
commit705a1ae3c8e62d99f56d0e750676d07d51057f4b
tree85a52cf5ada55e0f799d31d79becda73780551a3
parent83def1cbe719443ffe84ffee135345e9488aec1a
[dfsan] Introduce an optimization to reduce the number of union queries.

Specifically, when building a union query, if we are dominated by an identical
query then use the result of that query instead.

llvm-svn: 213047
llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
llvm/test/Instrumentation/DataFlowSanitizer/union.ll [new file with mode: 0644]