[CodeGen][NFC] Fix test/CodeGen/pr45476.cpp to specify target triple.
authorHuihui Zhang <huihuiz@quicinc.com>
Thu, 14 May 2020 00:55:08 +0000 (17:55 -0700)
committerHuihui Zhang <huihuiz@quicinc.com>
Thu, 14 May 2020 01:04:14 +0000 (18:04 -0700)
commitfd842d3626625d8075b0ecbd4d24de70d7ac2456
treed0a23daa7960ea4ff08c9c54bb031ed3c9135104
parentfa8c2ae76f7e4f498d29e2716233bd29025e8827
[CodeGen][NFC] Fix test/CodeGen/pr45476.cpp to specify target triple.

Summary:
Use explicit target triple to match more accurately the output for libcall
or native atomic.

Similar to D74847, without explicit target triple, this test will fail for ARM.

This patch update test pr45476.cpp to check for both native atomic and libcall.

Reviewers: efriedma, ekatz, rjmccall, rsmith, luismarques

Reviewed By: efriedma

Subscribers: kristof.beyls, jfb, cfe-commits, llvm-commits

Tags: #llvm, #clang

Differential Revision: https://reviews.llvm.org/D79914
clang/test/CodeGen/pr45476.cpp