clang -cc1 -emit-llvm -S emits assembly?

Hi,

The clang test CodeGenObjC/property-complex.m has this RUN line:

// RUN: %clang_cc1 -triple i386-apple-darwin9 -emit-llvm -S -o - %s

This causes clang to emit x86 assembly, not LLVM IR to stdout. Is that intended?

I would expect '-emit-llvm -S' to generate textual LLVM IR, like llvm-gcc does.

Hi,

The clang test CodeGenObjC/property-complex.m has this RUN line:

// RUN: %clang_cc1 -triple i386-apple-darwin9 -emit-llvm -S -o - %s

This causes clang to emit x86 assembly, not LLVM IR to stdout. Is that intended?

Probably not. Test changed in r103487

- Fariborz