1 // RUN: %clang_cc1 -emit-llvm %s -o - -O | not grep alloca 2 // PR2094 3 4 int sad16_sse2(void *v, unsigned char *blk2, unsigned char *blk1, 5 int stride, int h) { 6 int ret; 7 asm volatile( "%0 %1 %2 %3" 8 : "+r" (h), "+r" (blk1), "+r" (blk2) 9 : "r" ((long)stride)); 10 asm volatile("set %0 %1" : "=r"(ret) : "r"(blk1)); 11 return ret; 12 } 13