[all-commits] [llvm/llvm-project] 89f8ba: [AsmParser] Support calling intrinsics without man...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Thu Apr 18 17:04:23 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 89f8ba2855789c6c8b445af0e1aa82d5f5cf940a
https://github.com/llvm/llvm-project/commit/89f8ba2855789c6c8b445af0e1aa82d5f5cf940a
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-04-19 (Fri, 19 Apr 2024)
Changed paths:
M llvm/include/llvm/IR/Intrinsics.h
M llvm/lib/AsmParser/LLParser.cpp
M llvm/lib/IR/Function.cpp
M llvm/test/Assembler/implicit-intrinsic-declaration-invalid.ll
A llvm/test/Assembler/implicit-intrinsic-declaration-invalid2.ll
A llvm/test/Assembler/implicit-intrinsic-declaration-invalid3.ll
M llvm/test/Assembler/implicit-intrinsic-declaration.ll
Log Message:
-----------
[AsmParser] Support calling intrinsics without mangling suffix (#89172)
This adds proper support for calling intrinsics without mangling suffix
when parsing textual IR. This already worked (mostly by accident) when
only a single mangling suffix was in use.
This patch extends support to the case where the intrinsic is used with
multiple signatures, and as such multiple different intrinsic
declarations have to be inserted. The final IR will have intrinsics with
mangling suffix as usual.
Motivated by the discussion at:
https://discourse.llvm.org/t/recent-improvements-to-the-ir-parser/77366
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list