IR for Magic generated by the optimizing compiler can be non-canonical

Description

This issue was originally reported as MRP-23 by Ian Rogers for MRP. Quote from the issue description:

When we create code from regular bytecodes we ensure it is canonical by
running it through the simplifier. Magic code isn't run through the
simplifier and as a result can be non-canonical, especially if generated
in the LIR phase by inlining runtime services.

Environment

All

Status

Assignee

Erik Brangs

Reporter

Erik Brangs

Labels

None

Components

Fix versions

Affects versions

Priority

High
Configure