aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
diff options
context:
space:
mode:
authorNemanja Ivanovic <nemanja.i.ibm@gmail.com>2023-01-31 09:52:13 -0600
committerNemanja Ivanovic <nemanja.i.ibm@gmail.com>2023-01-31 09:54:29 -0600
commit19311e0a2e70c3775a67efe55780af65eb484b41 (patch)
tree3c7ebca5d8c51bbbc97f91275ee26689fb754559 /llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
parentec0f0ecd48e99ebecd224585c04c67a177543fa1 (diff)
downloadllvm-19311e0a2e70c3775a67efe55780af65eb484b41.zip
llvm-19311e0a2e70c3775a67efe55780af65eb484b41.tar.gz
llvm-19311e0a2e70c3775a67efe55780af65eb484b41.tar.bz2
[PowerPC] Do not convert lwz to lwa if the offset is not a multiple of 4
The transform that converts this checks the alignment of the global object being accessed. However, there was no check for the offset within the global object which caused the compiler to produce a DS relocation for an unaligned address.
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions