HomePhabricator

[PowerPC] Fix store-fptoi combine of f128 on Power8

Authored by qiucf on Wed, Sep 16, 7:19 PM.

Description

[PowerPC] Fix store-fptoi combine of f128 on Power8

llc would crash for (store (fptosi-f128-i32)) when -mcpu=pwr8, we should
not generate FP_TO_(S|U)INT_IN_VSR for f128 types at this time. This
patch fixes it.

Reviewed By: steven.zhang

Differential Revision: https://reviews.llvm.org/D86686

Details

Committed
qiucfWed, Sep 16, 7:21 PM
Reviewer
steven.zhang
Differential Revision
D86686: [PowerPC] Fix store-fptoi combine of f128 on Power8
Parents
rG5782ab0f52db: [MachineSink] add one more mir case - nfc
Branches
Unknown
Tags
Unknown