]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
llvm: fix typo in CVE-2024-0151.patch
authorGyorgy Sarvari <skandigraun@gmail.com>
Mon, 8 Sep 2025 20:18:44 +0000 (22:18 +0200)
committerSteve Sakoman <steve@sakoman.com>
Tue, 9 Sep 2025 16:01:30 +0000 (09:01 -0700)
commit77f29f8fea58de40459186952d25279877ce4994
treea8fd270de7230b113d58b6996e3427b4248ba87b
parent5a922eb95da7d373ee2bc3018065448fa128e69a
llvm: fix typo in CVE-2024-0151.patch

During backporting the patch, accidentally a variable was removed.
In case the recipe is compiled for 32-bit Arm target, compilation
fails with the following error:

3.0.1-r0/git/llvm/lib/Target/ARM/ARMISelLowering.cpp:4481:13: error: 'RegVT' was not declared in this scope
|  4481 |         if (RegVT == MVT::f16 || RegVT == MVT::bf16)
|       |             ^~~~~

This patch corrects the patch, and adds back the removed RegVT variable.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-devtools/llvm/llvm/CVE-2024-0151.patch