Avoid evaluating Neon macro arguments more than once by disabling type checks.
authorBob Wilson <bob.wilson@apple.com>
Mon, 15 Aug 2011 23:22:56 +0000 (23:22 +0000)
committerBob Wilson <bob.wilson@apple.com>
Mon, 15 Aug 2011 23:22:56 +0000 (23:22 +0000)
commite17a14e2debc9f900f8507e32496a77d55253753
tree9c64d5b8c1d6c7976788046dcb731bb7c016d96e
parent5e38c473a41f4412d8a934449290b11066d144b9
Avoid evaluating Neon macro arguments more than once by disabling type checks.
It turns out that the use of "__extension__" in these macros was disabling
the expected "incompatible pointer" warnings, so these type checks were not
doing anything anyway.  They introduced a serious bug by evaluating some
macro arguments twice, which is a big problem for arguments with side effects.
I'll have to find another way to get the right type checking.  Radar 9947657.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137680 91177308-0d34-0410-b5e6-96231b3b80d8
utils/TableGen/NeonEmitter.cpp