Skip to content

Commit

Permalink
[NFC] Fix Wswitch warning triggered by 735e6c
Browse files Browse the repository at this point in the history
  • Loading branch information
ChuanqiXu9 committed Jun 14, 2022
1 parent 029fc37 commit d029db9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions llvm/lib/Transforms/Utils/CodeExtractor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -921,6 +921,7 @@ Function *CodeExtractor::constructFunction(const ValueSet &inputs,
case Attribute::WillReturn:
case Attribute::WriteOnly:
case Attribute::AllocKind:
case Attribute::PresplitCoroutine:
continue;
// Those attributes should be safe to propagate to the extracted function.
case Attribute::AlwaysInline:
Expand Down

0 comments on commit d029db9

Please sign in to comment.