yota9 added a comment.

The problem here is that if you would remove the freestanding condition and run 
this test it would fail since "-target-feature" "+outline-atomics" would be 
passed to the clang.  And usually we don't want the compiler to use any 
external symbols in freestanding mode, this is the reason why -fno-builtin is 
implied with freestanding option. So it seems to be logical to me to disable 
outline-atomics too in this situation even if the compiler have runtime library 
available


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D159398/new/

https://reviews.llvm.org/D159398

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to