1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00
llvm-mirror/test/CodeGen/Mips/llvm-ir
Sanjay Patel b7d4502f35 [DAG] optimize negation of bool
Use mask and negate for legalization of i1 source type with SIGN_EXTEND_INREG.
With the mask, this should be no worse than 2 shifts. The mask can be eliminated
in some cases, so that should be better than 2 shifts.

This change exposed some missing folds related to negation:
https://reviews.llvm.org/rL284239
https://reviews.llvm.org/rL284395

There may be others, so please let me know if you see any regressions.

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

llvm-svn: 284611
2016-10-19 16:58:59 +00:00
..
add.ll [DAG] optimize negation of bool 2016-10-19 16:58:59 +00:00
addrspacecast.ll
and.ll [mips] interAptiv based generic schedule model 2016-09-01 14:53:53 +00:00
ashr.ll [mips] Disable the TImode shift libcalls for 32-bit targets. 2016-09-07 10:01:18 +00:00
atomicrmx.ll
call.ll [mips] Disable tail calls temporarily 2016-09-27 13:15:54 +00:00
extractelement.ll
indirectbr.ll [mips] Correct label prefixes for N32 and N64. 2016-07-19 10:49:03 +00:00
lh_lhu.ll [mips] Don't derive the default ABI from the CPU in the backend. 2016-06-23 12:42:53 +00:00
load-atomic.ll [mips] Use --check-prefixes where appropriate. NFC. 2016-06-24 12:23:17 +00:00
lshr.ll [mips] Disable the TImode shift libcalls for 32-bit targets. 2016-09-07 10:01:18 +00:00
mul.ll [DAG] optimize negation of bool 2016-10-19 16:58:59 +00:00
not.ll [mips] interAptiv based generic schedule model 2016-09-01 14:53:53 +00:00
or.ll [mips] interAptiv based generic schedule model 2016-09-01 14:53:53 +00:00
ret.ll [mips] Optimize materialization of i64 constants 2016-07-25 09:57:28 +00:00
sdiv.ll [DAG] optimize negation of bool 2016-10-19 16:58:59 +00:00
select-dbl.ll [mips] Correct label prefixes for N32 and N64. 2016-07-19 10:49:03 +00:00
select-flt.ll [mips] interAptiv based generic schedule model 2016-09-01 14:53:53 +00:00
select-int.ll [mips] interAptiv based generic schedule model 2016-09-01 14:53:53 +00:00
shl.ll [mips] Disable the TImode shift libcalls for 32-bit targets. 2016-09-07 10:01:18 +00:00
sqrt.ll
srem.ll [DAG] optimize negation of bool 2016-10-19 16:58:59 +00:00
store-atomic.ll [mips] Use --check-prefixes where appropriate. NFC. 2016-06-24 12:23:17 +00:00
sub.ll [DAG] optimize negation of bool 2016-10-19 16:58:59 +00:00
udiv.ll [mips] Preparatory work for a generic scheduler 2016-08-24 13:00:47 +00:00
urem.ll [DAG] optimize negation of bool 2016-10-19 16:58:59 +00:00
xor.ll [mips] interAptiv based generic schedule model 2016-09-01 14:53:53 +00:00