[ScopedNoAliasAA] Remove an unneccesary set
authorDavid Majnemer <david.majnemer@gmail.com>
Mon, 15 Aug 2016 00:13:04 +0000 (00:13 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Mon, 15 Aug 2016 00:13:04 +0000 (00:13 +0000)
commit5ec9c58f1394e1232972604d765238594d48fce1
treec3c3a48290b37adc6fd7ec04469c11a0a8034755
parent97fcf4be9be72b9d1b5650da8ca76e3badbf49ff
[ScopedNoAliasAA] Remove an unneccesary set

We are trying to prove that one group of operands is a subset of
another.  We did this by populating two Sets and determining that every
element within one was inside the other.

However, this is unnecessary.  We can simply construct a single set and
test if each operand is within it.

llvm-svn: 278641
llvm/include/llvm/Analysis/ScopedNoAliasAA.h
llvm/lib/Analysis/ScopedNoAliasAA.cpp