[PATCH] D146164: Fix nomerge attribute not working with __builtin_trap().
Zequan Wu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 15 13:00:37 PDT 2023
zequanwu created this revision.
zequanwu added reviewers: hans, craig.topper.
Herald added subscribers: pengfei, hiraditya.
Herald added a project: All.
zequanwu requested review of this revision.
Herald added projects: clang, LLVM.
Herald added subscribers: llvm-commits, cfe-commits.
1. It fixes the problem that `llvm.trap()` not getting the nomerge attribute.
2. It sets nomerge flag for the node if the instruction has nomerge arrtibute.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D146164
Files:
clang/lib/CodeGen/CGExpr.cpp
clang/test/CodeGen/attr-nomerge.cpp
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
llvm/test/CodeGen/X86/nomerge.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146164.505599.patch
Type: text/x-patch
Size: 3525 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230315/eda2807b/attachment.bin>
More information about the cfe-commits
mailing list