Skip to content
This repository was archived by the owner on Mar 27, 2022. It is now read-only.
This repository was archived by the owner on Mar 27, 2022. It is now read-only.

Unhandled IR corner case #3

Description

@ilgeco

There is a problem when llvm IR generate an unnamed temporary value inside another llvm IR instruction
es:
result:
%tmp2.flt = load double, double* getelementptr inbounds ([100000 x double], [100000 x double]* @array, i64 0, i64 0), align 16, !taffo.initweight !14, !taffo.info !1
expected:
%tmp2.flt = load double, double* getelementptr inbounds ([100000 x double], [100000 x double]* @array.fixp, i64 0, i64 0), align 16, !taffo.initweight !14, !taffo.info !1

So when the instruction is converted FloatToFixed::fallback (here) is called
then a call to fallbackMatchValue (here) is performed which dosen't change the operand because TypeConversion is not set for the GEP
array.zip

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions