Improve filechecking of volatile test.
authorTim Northover <Tim.Northover@arm.com>
Fri, 8 Feb 2013 08:00:13 +0000 (08:00 +0000)
committerTim Northover <Tim.Northover@arm.com>
Fri, 8 Feb 2013 08:00:13 +0000 (08:00 +0000)
commitd3c543703d29604efeaa69e72cccdd9dfec947f5
treec425fb7bd29a99b329e10329ae5c1ae541d794bc
parent5cb786012955c9bacc68fbad993d871abf8e087f
Improve filechecking of volatile test.

My previous attempt was extremely deficient, allowing more volatiles
to be introduced and not even checking all of the ones that are
present.

This attempt doesn't try to keep track of the values stored or offsets
within particular objects, just that the correct objects are accessed
in a correctly volatile manner throughout.

llvm-svn: 174700
clang/test/CodeGen/volatile.c