summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2012-10-26 04:43:47 +0000
committerNick Lewycky <nicholas@mxc.ca>2012-10-26 04:43:47 +0000
commit4734fe19f6d240a911918a330a786751fe1030d9 (patch)
treea696ffa73f4980a8007f3f69051c332e1b77d620 /test
parentdc330f75b732b4ce1beace69ae7ed8e19d89bd9f (diff)
downloadllvm-4734fe19f6d240a911918a330a786751fe1030d9.tar.gz
llvm-4734fe19f6d240a911918a330a786751fe1030d9.tar.bz2
llvm-4734fe19f6d240a911918a330a786751fe1030d9.tar.xz
Hoist out some work done inside a loop doing a linear scan over all
instructions in a block. GetUnderlyingObject is more expensive than it looks as it can, for instance, call SimplifyInstruction. This might have some behavioural changes in odd corner cases, but only because of some strange artefacts of the original implementation. If you were relying on those, we can fix that by replacing this with a smarter algorithm. Change passes the existing tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166754 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions