Skip to content

LLVM 11 rebase #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 14 commits into
base: upstream-llvm11-snapshot
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions llvm/include/llvm/IR/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
set(LLVM_TARGET_DEFINITIONS Attributes.td)
tablegen(LLVM Attributes.inc -gen-attrs)
add_public_tablegen_target(attributes_gen)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Squashed?


set(LLVM_TARGET_DEFINITIONS Intrinsics.td)
tablegen(LLVM IntrinsicImpl.inc -gen-intrinsic-impl)
Expand Down
1 change: 1 addition & 0 deletions llvm/include/llvm/module.modulemap
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ module LLVM_Pass {

module LLVM_intrinsic_gen {
requires cplusplus
requires attribute_gen

// Delay building the modules containing dependencies to Attributes.h and
// Intrinsics.h because they need to be generated by tablegen first.
Expand Down
1 change: 1 addition & 0 deletions llvm/lib/IR/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,5 @@ add_llvm_component_library(LLVMCore

DEPENDS
intrinsics_gen
attributes_gen
)
3 changes: 3 additions & 0 deletions llvm/lib/MC/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ add_llvm_component_library(LLVMMC

ADDITIONAL_HEADER_DIRS
${LLVM_MAIN_INCLUDE_DIR}/llvm/MC

DEPENDS
attributes_gen
)

add_subdirectory(MCParser)
Expand Down