Skip to content
Snippets Groups Projects
Commit 14014b55 authored by Simon Schuster's avatar Simon Schuster
Browse files

Bugfix: Platina-Intrinsic: pass type/expr by operand

This commit catches up to a matching bugfix in patmos-llvm.

The former implementation passed the platina type and expression
infromation by means of two metadata items attached to the intrinsic
call instruction. However, the tail-call-optimization dropped this
metadata (in sync with the docs):

  A transformation is required to drop any metadata attachment that it
  does not know or know it can’t preserve.

Passing this data by means of operands to the call instruction should
be more robust.
parent d94b5709
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment