LLVM ERROR: Type mismatch in constant table! #241
Labels
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: M-Labs/nac3#241
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Patch ARTIQ as follows:
This is caused by the changes in urukul.py. Updated patch:
And removing
dds_reset: KernelInvariant[Option[TTLOut]]
makes the error disappear.And setting
dds_reset
to a dummyTTLOut
(e.g.self.dds_reset = Some(TTLOut(dmgr, 23))
) also makes the error disappear. It doesn't likenone
.Simplified repro:
Using two different empty classes instead of
TTLOut
/TTLClockGen
is not sufficient to reproduce the problem on the other hand.Problematic IR:
Type mismatch between
%artiq.coredevice.ttl.TTLOut**
andi8*
. I guess you missed a cast? @ychenfoYes thanks! I am looking into fix it now.