mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-13 23:43:40 +00:00
all: add support for LLVM 19
This commit is contained in:
committed by
Ron Evans
parent
127557d27e
commit
9e9768b51d
@@ -1046,6 +1046,8 @@ func (v *rawValue) set(llvmValue llvm.Value, r *runner) {
|
||||
v.buf[i] = ptrValue.pointer
|
||||
}
|
||||
case llvm.ICmp:
|
||||
// Note: constant icmp isn't supported anymore in LLVM 19.
|
||||
// Once we drop support for LLVM 18, this can be removed.
|
||||
size := r.targetData.TypeAllocSize(llvmValue.Operand(0).Type())
|
||||
lhs := newRawValue(uint32(size))
|
||||
rhs := newRawValue(uint32(size))
|
||||
|
||||
Reference in New Issue
Block a user