aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Module.cpp
diff options
context:
space:
mode:
authorVyacheslav Levytskyy <89994100+VyacheslavLevytskyy@users.noreply.github.com>2024-02-27 10:58:04 +0100
committerGitHub <noreply@github.com>2024-02-27 10:58:04 +0100
commit9796b0e9f91bc8ff00d2616fa3656e1ca848c05c (patch)
tree2f3e1beb0c59ac4e7e1da1b2aedd05c491763ca2 /llvm/lib/IR/Module.cpp
parent288d317fff42b46151b132ca2bdc4b0ca6d28d6f (diff)
downloadllvm-9796b0e9f91bc8ff00d2616fa3656e1ca848c05c.zip
llvm-9796b0e9f91bc8ff00d2616fa3656e1ca848c05c.tar.gz
llvm-9796b0e9f91bc8ff00d2616fa3656e1ca848c05c.tar.bz2
Add support for the 'freeze' instruction (#82979)
This PR is to add support for the 'freeze' instruction: https://llvm.org/docs/LangRef.html#freeze-instruction There is no way to implement `freeze` correctly without support on SPIR-V standard side, but we may at least address a simple (static) case when undef/poison value presence is obvious. The main benefit of even incomplete `freeze` support is preventing of translation from crashing due to lack of support on legalization and instruction selection steps.
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions