Skip to content

[Bug] Compiler fails getting value from computed float4 without debug info #2426

Description

@zerkawei

The following code fails to build when disabling Debug Info in the build settings (except when using Og+ on Windows) :

let foo = float4(1,2,3,4) * 1;
let x = foo.x;

The compiler outputs the following error message :

/usr/lib/llvm19/include/llvm/IR/Instructions.h:908: llvm::Type* llvm::checkGEPType(Type*): Assertion `Ty && "Invalid GetElementPtrInst indices for type!"' failed.`

Tested on latest nightly (03/27/2026).

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