mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-05-14 09:56:33 +00:00

This is mostly a one-time autoconversion of tests that checked assembly after "-Owhatever" compiles to only run "opt -mem2reg" and check the assembly. This should make them much more stable to changes in LLVM so they won't break on unrelated changes. "opt -mem2reg" is a compromise designed to increase the readability of tests that check dataflow, while minimizing dependency on LLVM. Hopefully mem2reg is stable enough that no surpises will come along. Should address http://llvm.org/PR26815. llvm-svn: 263048
10 lines
265 B
C
10 lines
265 B
C
// RUN: %clang -target aarch64-linux-gnuabi %s -S -emit-llvm -o - | FileCheck %s
|
|
|
|
_Complex long double a, b, c, d;
|
|
void test_fp128_compound_assign(void) {
|
|
// CHECK: call { fp128, fp128 } @__multc3
|
|
a *= b;
|
|
// CHECK: call { fp128, fp128 } @__divtc3
|
|
c /= d;
|
|
}
|