[all-commits] [llvm/llvm-project] 7da2d6: [LoongArch] Transfer MI flags when expand PseudoCALL
wanglei via All-commits
all-commits at lists.llvm.org
Wed Nov 16 17:25:42 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7da2d69da6a8aa5f1d55284910efe27bf64106b2
https://github.com/llvm/llvm-project/commit/7da2d69da6a8aa5f1d55284910efe27bf64106b2
Author: wanglei <wanglei at loongson.cn>
Date: 2022-11-17 (Thu, 17 Nov 2022)
Changed paths:
M llvm/lib/Target/LoongArch/LoongArchExpandPseudoInsts.cpp
A llvm/test/CodeGen/LoongArch/nomerge.ll
Log Message:
-----------
[LoongArch] Transfer MI flags when expand PseudoCALL
When expanding a PseudoCALL, the corresponding flags (e.g. nomerge)
need to be passed to the new instruction.
This patch also adds test for the nomerge attribute.
The `nomerge` attribute was added during `LowerCall`, but was lost
during expand PseudoCALL. Now add it back.
Reviewed By: SixWeining
Differential Revision: https://reviews.llvm.org/D137888
More information about the All-commits
mailing list