~40% faster vector shl <4 x i32> on SSE 4.1 Larger improvements for smaller types...
[oota-llvm.git] / test / FrontendC++ / 2009-05-04-PureConstNounwind.cpp
1 // RUN: %llvmgxx -S -emit-llvm %s -o - | grep nounwind | count 4
2 int c(void) __attribute__((const));
3 int p(void) __attribute__((pure));
4 int t(void);
5
6 int f(void) {
7         return c() + p() + t();
8 }