Files
llvm/test/CodeGen/PowerPC
Hiroshi Inoue cbd850f350 [PowerPC] Use helper functions to check sign-/zero-extended value
Helper functions to identify sign- and zero-extending machine instruction is introduced in rL315888.
This patch makes PPCInstrInfo::optimizeCompareInstr use the helper functions. It simplifies the code and also makes possible more optimizations since the helper can do more analysis than the original check code; I observed about 5000 more compare instructions are eliminated while building LLVM.

Also, this patch fixes a bug in helpers on ANDIo instruction handling due to the order of checks. This bug causes a failure in an existing test case for optimizeCompareInstr.

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



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316071 91177308-0d34-0410-b5e6-96231b3b80d8
2017-10-18 10:31:19 +00:00
..
2015-07-28 20:38:29 +00:00
2016-10-19 16:58:59 +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