Files
archived-llvm-mirror/test/CodeGen/PowerPC
Guozhi Wei 56ba76fe49 [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
2018-03-15 17:49:12 +00:00
..
2017-11-06 19:09:38 +00:00
2016-02-29 16:42:27 +00:00
2017-10-10 08:46:10 +00:00
2017-01-22 20:28:56 +00:00