diff options
| author | Finn Plummer <50529406+inbelic@users.noreply.github.com> | 2024-11-12 10:31:01 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-12 10:31:01 -0800 |
| commit | a93cbd4e762799206ae6e6c45f4a7d0da7e56513 (patch) | |
| tree | 90114fcf778dea063994251468ffd020cd97301c /llvm/lib/Object/ELFObjectFile.cpp | |
| parent | 4048c64306e23b622443bbe7293057a9b07a13bb (diff) | |
| download | llvm-a93cbd4e762799206ae6e6c45f4a7d0da7e56513.zip llvm-a93cbd4e762799206ae6e6c45f4a7d0da7e56513.tar.gz llvm-a93cbd4e762799206ae6e6c45f4a7d0da7e56513.tar.bz2 | |
[SPIRV] Audit `select` Result in SPIRVInstructionSelector (#115193)
- as per the definition of `select` in GlobalISel/InstructionSelector.h
the return value is a boolean denoting if the select was successful
- doing `Result |=` is incorrect as all inserted instructions should be
succesful, hence we change to using `Result &=`
- ensure that the return value of all BuildMI instructions are
propagated correctly
Diffstat (limited to 'llvm/lib/Object/ELFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions
