[PowerPC] Add triple to test/CodeGen/PowerPC/atomic-2.ll for ppc64le
authorHal Finkel <hfinkel@anl.gov>
Tue, 30 Aug 2016 00:22:22 +0000 (00:22 +0000)
committerHal Finkel <hfinkel@anl.gov>
Tue, 30 Aug 2016 00:22:22 +0000 (00:22 +0000)
Otherwise, running the test on Darwin systems will not work.

llvm-svn: 280034

llvm/test/CodeGen/PowerPC/atomic-2.ll

index bafabdb29f4238502b37e5ea4a1986ed43f9e863..18715ddb37c6e09bdf6d7e36d1d3868944fad6d1 100644 (file)
@@ -1,5 +1,5 @@
 ; RUN: llc < %s -march=ppc64 | FileCheck %s -check-prefix=CHECK -check-prefix=CHECK-BE
-; RUN: llc < %s -march=ppc64le | FileCheck %s -check-prefix=CHECK -check-prefix=CHECK-LE
+; RUN: llc < %s -march=ppc64le -mtriple=powerpc64le-unknown-linux-gnu | FileCheck %s -check-prefix=CHECK -check-prefix=CHECK-LE
 ; RUN: llc < %s -march=ppc64 -mcpu=pwr7 | FileCheck %s
 ; RUN: llc < %s -march=ppc64 -mcpu=pwr8 | FileCheck %s -check-prefix=CHECK-P8U