aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorUyiosa Iyekekpolor <96444432+uyoyo0@users.noreply.github.com>2025-09-15 06:08:16 -0400
committerGitHub <noreply@github.com>2025-09-15 10:08:16 +0000
commit994a6a39e13dcc335247a127a5da05905d1ac541 (patch)
tree0946e89a41fdda57d7d54005efc245bf35c6d867 /clang/lib/Frontend/CompilerInvocation.cpp
parent2c091e6aec2d48fbcafc9cc5909a62f0321db1fd (diff)
downloadllvm-994a6a39e13dcc335247a127a5da05905d1ac541.zip
llvm-994a6a39e13dcc335247a127a5da05905d1ac541.tar.gz
llvm-994a6a39e13dcc335247a127a5da05905d1ac541.tar.bz2
[VectorCombine] Fix scalarizeExtExtract for big-endian (#157962)
The scalarizeExtExtract transform assumed little-endian lane ordering, causing miscompiles on big-endian targets such as AIX/PowerPC under -O3 -flto. This patch updates the shift calculation to handle endianness correctly for big-endian targets. No functional change for little-endian targets. Fixes #158197. --------- Co-authored-by: Simon Pilgrim <llvm-dev@redking.me.uk>
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions