[all-commits] [llvm/llvm-project] 1ae762: [ARM] Update and regenerate test checks. NFC

Heejin Ahn via All-commits all-commits at lists.llvm.org
Fri Jan 8 06:59:44 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1ae762469fd11be0b5a10353281a8264ab97b166
      https://github.com/llvm/llvm-project/commit/1ae762469fd11be0b5a10353281a8264ab97b166
  Author: David Green <david.green at arm.com>
  Date:   2021-01-08 (Fri, 08 Jan 2021)

  Changed paths:
    M llvm/test/CodeGen/ARM/arm-shrink-wrapping.ll
    M llvm/test/CodeGen/ARM/indexed-mem.ll

  Log Message:
  -----------
  [ARM] Update and regenerate test checks. NFC


  Commit: 7be271537e97018c56a714a90106f1e25e32f4db
      https://github.com/llvm/llvm-project/commit/7be271537e97018c56a714a90106f1e25e32f4db
  Author: Heejin Ahn <aheejin at gmail.com>
  Date:   2021-01-08 (Fri, 08 Jan 2021)

  Changed paths:
    M clang/include/clang/Basic/BuiltinsWebAssembly.def
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/lib/CodeGen/CGException.cpp
    M clang/test/CodeGen/builtins-wasm.c
    M clang/test/CodeGenCXX/wasm-eh.cpp
    M llvm/include/llvm/IR/IntrinsicsWebAssembly.td
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/lib/IR/Verifier.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyInstrControl.td
    M llvm/test/CodeGen/WebAssembly/cfg-stackify-eh.ll
    M llvm/test/CodeGen/WebAssembly/exception.ll
    M llvm/test/CodeGen/WebAssembly/wasmehprepare.ll

  Log Message:
  -----------
  [WebAssembly] Rename wasm_rethrow_in_catch intrinsic/builtin

`wasm_rethrow_in_catch` intrinsic and builtin are used in order to
rethrow an exception when the exception is caught but there is no
matching clause within the current `catch`. For example,
```
try {
  foo();
} catch (int n) {
  ...
}
```
If the caught exception does not correspond to C++ `int` type, it should
be rethrown. These intrinsic/builtin were renamed `rethrow_in_catch`
because at the time I thought there would be another intrinsic for C++'s
`throw` keyword, which rethrows an exception. It turned out that `throw`
keyword doesn't require wasm's `rethrow` instruction, so we rename
`rethrow_in_catch` to just `rethrow` here.

Reviewed By: dschuff, tlively

Differential Revision: https://reviews.llvm.org/D94038


Compare: https://github.com/llvm/llvm-project/compare/6e2b6351d2cb...7be271537e97


More information about the All-commits mailing list