Go to file
Heejin Ahn ed5e06b0a7 [WebAssembly] Add isEHScopeReturn instruction property
Summary:
So far, `isReturn` property is used to mean both a return instruction
from a functon and the end of an EH scope, a scope that starts with a EH
scope entry BB and ends with a catchret or a cleanupret instruction.
Because WinEH uses funclets, all EH-scope-ending instructions are also
real return instruction from a function. But for wasm, they only serve
as the end marker of an EH scope but not a return instruction that
exits a function. This mismatch caused incorrect prolog and epilog
generation in wasm EH scopes. This patch fixes this.

This patch is in the same vein with rL333045, which splits
`MachineBasicBlock::isEHFuncletEntry` into `isEHFuncletEntry` and
`isEHScopeEntry`.

Reviewers: dschuff

Subscribers: sbc100, jgravelle-google, sunfish, llvm-commits

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

llvm-svn: 340325
2018-08-21 19:44:11 +00:00
clang Address Aaron Ballman's post-commit review comments from r340306, NFC 2018-08-21 17:50:10 +00:00
clang-tools-extra [clangd] NFC: Fix broken build 2018-08-21 10:40:19 +00:00
compiler-rt SafeStack: Use correct unsafe stack sizes 2018-08-21 17:29:01 +00:00
debuginfo-tests Revert "(Retry) Add a basic integration test for C++ smart pointers" 2018-08-20 19:53:33 +00:00
libclc amdgcn: Use __constant AS for amdgcn builtins. 2018-08-03 15:14:08 +00:00
libcxx Teach libc++ to use native NetBSD's max_align_t 2018-08-20 22:29:20 +00:00
libcxxabi Port LLVM r340203 (and r340205) to libcxxabi. 2018-08-20 20:14:49 +00:00
libunwind NFC: Test commit access 2018-08-16 16:55:07 +00:00
lld [PPC64] Add TLS initial exec to local exec relaxation 2018-08-21 15:13:53 +00:00
lldb lldbtest.py: Unconditionally set the clang module cache path. 2018-08-21 16:13:37 +00:00
llgo Update copyright year to 2018. 2018-06-18 12:22:17 +00:00
llvm [WebAssembly] Add isEHScopeReturn instruction property 2018-08-21 19:44:11 +00:00
openmp [OMPT] Remove OMPT idle callback 2018-08-15 13:54:28 +00:00
parallel-libs Update copyright year to 2018. 2018-06-18 12:22:17 +00:00
polly [AST] Adapt Polly to AnalysisSetTracker changes. NFC. 2018-08-17 19:31:41 +00:00
README.md

README.md

Low Level Virtual Machine (LLVM)

This directory and its subdirectories contain source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and runtime environments.