[CodeGen] fix test to be (mostly) independent of LLVM optimizer; NFC
authorSanjay Patel <spatel@rotateright.com>
Sun, 10 May 2020 15:25:37 +0000 (11:25 -0400)
committerSanjay Patel <spatel@rotateright.com>
Sun, 10 May 2020 15:25:37 +0000 (11:25 -0400)
commitd02b3aba37d9a18691669392ff26ec28b51741f5
treea6fb4e71f9de7090dc708daef2ada974348bf1ba
parentbcc5ed7b24e921c8902d0d0db614576bd249f128
[CodeGen] fix test to be (mostly) independent of LLVM optimizer; NFC

This test would break with the proposed change to IR canonicalization
in D79171.

The test tried to do the right thing by only using -mem2reg with opt,
but it was using -O3 before that step, so the opt part was meaningless.
clang/test/CodeGen/arm-mve-intrinsics/cplusplus.cpp