diff options
author | Amara Emerson <amara@apple.com> | 2021-07-18 23:34:09 -0700 |
---|---|---|
committer | Amara Emerson <amara@apple.com> | 2021-07-19 10:23:23 -0700 |
commit | 03cdb5221d120c4000725e4aa862ef8c8b852274 (patch) | |
tree | 7eeb80c71a9a6038b2f041fd820c9d7995e2442d /clang/lib/Frontend/InterfaceStubFunctionsConsumer.cpp | |
parent | 670944fb20b226fc22fa993ab521125f9adbd30a (diff) | |
download | llvm-03cdb5221d120c4000725e4aa862ef8c8b852274.zip llvm-03cdb5221d120c4000725e4aa862ef8c8b852274.tar.gz llvm-03cdb5221d120c4000725e4aa862ef8c8b852274.tar.bz2 |
[GlobalISel] Fix load-or combine moving loads across potential aliasing stores.
Although this combine checks that there's no load folding barriers between
the loads that it's trying to merge, it was inserting the load at the
MIRBuilder's default insertion point, which is the G_OR use inst.
This was causing a miscompile in the test suite's
SingleSource/Regression/C/gcc-c-torture/execute/GCC-C-execute-bswap-2
Differential Revision: https://reviews.llvm.org/D106251
Diffstat (limited to 'clang/lib/Frontend/InterfaceStubFunctionsConsumer.cpp')
0 files changed, 0 insertions, 0 deletions