summaryrefslogtreecommitdiffstats
path: root/clang/unittests/Frontend/CompilerInstanceTest.cpp
diff options
context:
space:
mode:
authorGuozhi Wei <carrot@google.com>2018-03-15 17:49:12 +0000
committerGuozhi Wei <carrot@google.com>2018-03-15 17:49:12 +0000
commit9c916584ba198dfcd21cea645ac1406e399e5b30 (patch)
treea4aab49e328976fe0786aa5ff4b13fbe6f5fb77e /clang/unittests/Frontend/CompilerInstanceTest.cpp
parent48b758e8ad14a5553326eaf3b2365b73162c6a24 (diff)
downloadbcm5719-llvm-9c916584ba198dfcd21cea645ac1406e399e5b30.tar.gz
bcm5719-llvm-9c916584ba198dfcd21cea645ac1406e399e5b30.zip
[PPC] Avoid non-simple MVT in STBRX optimization
PR35402 triggered this case. It bswap and stores a 48bit value, current STBRX optimization transforms it into STBRX. Unfortunately 48bit is not a simple MVT, there is no PPC instruction to support it, and it can't be automatically expanded by llvm, so caused a crash. This patch detects the non-simple MVT and returns early. Differential Revision: https://reviews.llvm.org/D44500 llvm-svn: 327651
Diffstat (limited to 'clang/unittests/Frontend/CompilerInstanceTest.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud