[all-commits] [llvm/llvm-project] b0efde: [SPIR-V]: Improve pattern matching to recognize a ...
Vyacheslav Levytskyy via All-commits
all-commits at lists.llvm.org
Mon Jun 24 08:19:30 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b0efde6db0282c0a98aec04806d7b8ba29e19a1b
https://github.com/llvm/llvm-project/commit/b0efde6db0282c0a98aec04806d7b8ba29e19a1b
Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
M llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.h
M llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
A llvm/test/CodeGen/SPIRV/const-array-in-struct.ll
A llvm/test/CodeGen/SPIRV/const-nested-vecs.ll
M llvm/test/CodeGen/SPIRV/opencl/image.ll
A llvm/test/CodeGen/SPIRV/pointers/global-zeroinitializer.ll
Log Message:
-----------
[SPIR-V]: Improve pattern matching to recognize a composite constant to be a constant (#96286)
This PR is to fix https://github.com/llvm/llvm-project/issues/96285 by:
* improve pattern matching to recognize an aggregate constant to be a
constant
* do not emit Bitcast for an aggregate type
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