[all-commits] [llvm/llvm-project] 9796b0: Add support for the 'freeze' instruction (#82979)
Vyacheslav Levytskyy via All-commits
all-commits at lists.llvm.org
Tue Feb 27 01:58:16 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9796b0e9f91bc8ff00d2616fa3656e1ca848c05c
https://github.com/llvm/llvm-project/commit/9796b0e9f91bc8ff00d2616fa3656e1ca848c05c
Author: Vyacheslav Levytskyy <89994100+VyacheslavLevytskyy at users.noreply.github.com>
Date: 2024-02-27 (Tue, 27 Feb 2024)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
M llvm/lib/Target/SPIRV/SPIRVLegalizerInfo.cpp
A llvm/test/CodeGen/SPIRV/freeze.ll
Log Message:
-----------
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.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list