Home | History | Annotate | Download | only in CodeGen
      1 // REQUIRES: ppc32-registered-target
      2 // RUN: %clang_cc1 -triple powerpc-unknown-unknown -emit-llvm %s -o - | FileCheck %s
      3 
      4 void test_eh_return_data_regno()
      5 {
      6   volatile int res;
      7   res = __builtin_eh_return_data_regno(0);  // CHECK: store volatile i32 3
      8   res = __builtin_eh_return_data_regno(1);  // CHECK: store volatile i32 4
      9 }
     10