diff options
author | Johannes de Fine Licht <johannes.definelicht@nextsilicon.com> | 2025-03-17 22:31:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-17 22:31:28 +0100 |
commit | c3f750250a9bec9b37198fb5d344d742e648e32d (patch) | |
tree | 1d83fab21ee7b4d83874e86b8a499ca78b3028ab /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 6d2b8285b3f5f4d8f2ce184aeb14e791400a726d (diff) | |
download | llvm-c3f750250a9bec9b37198fb5d344d742e648e32d.zip llvm-c3f750250a9bec9b37198fb5d344d742e648e32d.tar.gz llvm-c3f750250a9bec9b37198fb5d344d742e648e32d.tar.bz2 |
[MLIR][LLVM] Handle floats in Mem2Reg of memset intrinsics (#131621)
This was lacking a bitcast from the shifted integer type into a float.
Other non-struct types than integers and floats will still not be
Mem2Reg'ed.
Also adds special handling for constants to be emitted as a constant
directly rather than relying on followup canonicalization patterns
(`memset` of zero is a case that can appear in the wild).
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions