Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [PPC] Avoid non-simple MVT in STBRX optimization | Guozhi Wei | 2018-03-15 | 1 | -0/+18 |
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 |