[clang] [clang] Add nuw attribute to GEPs (PR #105496)

2024-09-15 Thread Cheng Shao via cfe-commits
TerrorJack wrote: This breaks wasm codegen: https://github.com/llvm/llvm-project/issues/108770 https://github.com/llvm/llvm-project/pull/105496 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-

[clang] [WebAssembly] Change the default linker for `wasm32-wasip2` (PR #84569)

2024-03-22 Thread Cheng Shao via cfe-commits
TerrorJack wrote: @alexcrichton This is breaking `wasi-sdk` build with: ``` /workspace/wasi-sdk/build/install/opt/wasi-sdk/bin/clang --target=wasm32-wasip2 -nodefaultlibs -shared --sysroot=/workspace/wasi-sdk/build/install/opt/wasi-sdk/share/wasi-sysroot \ -o /workspace/wasi-sdk/build/install

[clang] [libc] [openmp] [clang-tools-extra] [compiler-rt] [mlir] [lldb] [lld] [llvm] [flang] [libcxx] [Driver] Report invalid target triple versions for all environment types. (PR #78655)

2024-02-06 Thread Cheng Shao via cfe-commits
TerrorJack wrote: FYI this change breaks `wasi-sdk`/`wasi-libc` build with: ``` clang: error: version 'preview2' in target triple 'wasm32-unknown-wasi-preview2' is invalid ``` https://github.com/llvm/llvm-project/pull/78655 ___ cfe-commits mailing li