[PATCH] D20407: [CodeGen][ObjC] zero-ext an i1 value to i8

Akira Hatanaka via cfe-commits cfe-commits at lists.llvm.org
Wed May 18 18:14:03 PDT 2016


ahatanak added a comment.

Also, it seems that there are bugs in the way clang handles functions whose return types are atomic. Clang asserts when compiling the following test case:

$ cat t1.c

  _Atomic _Bool b1;
  
  _Atomic _Bool foo1() {
    return b1;
  }

$ clang -std=c11 -o - -S t1.c -emit-llvm


http://reviews.llvm.org/D20407





More information about the cfe-commits mailing list