Open
Description
Looking at LLVM IR for some Rust code, I noticed the freeze
instruction that LLVM-CBE doesn't currently support: https://llvm.org/docs/LangRef.html#freeze-instruction
I've been thinking about how we should handle this, but have run into a few issues:
- I'm not sure how to write a trivial C/C++ program that emits this instruction.
- I'm not sure how to indicate to a C compiler how to copy an undef/poison value and NOT mark the new value as undef/poison - could we use
memcpy
or a "black box" function that duplicates the value?
Metadata
Metadata
Assignees
Labels
No labels