1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/CodeGen/AArch64/GlobalISel
Jessica Paquette 36cfd28681 [GlobalISel] Implement identity transforms for x op x -> x
When we have

```
a = G_OR x, x
```

or

```
b = G_AND y, y
```

We can drop the G_OR/G_AND and just use x/y respectively.

Also update arm64-fallback.ll because there was an or in there which hits this
transformation.

Differential Revision: https://reviews.llvm.org/D77105
2020-03-30 18:22:37 -07:00
..
arm64-callingconv-ios.ll
arm64-callingconv.ll
arm64-fallback.ll [GlobalISel] Implement identity transforms for x op x -> x 2020-03-30 18:22:37 -07:00
arm64-irtranslator-fmuladd.ll
arm64-irtranslator-gep.ll
arm64-irtranslator-stackprotect.ll
arm64-irtranslator-switch.ll Revert "[GISel]: Fix incorrect IRTranslation while translating null pointer types" 2020-03-30 19:30:42 -04:00
arm64-irtranslator.ll Revert "[GISel]: Fix incorrect IRTranslation while translating null pointer types" 2020-03-30 19:30:42 -04:00
arm64-regbankselect.mir
artifact-combine-unmerge.mir
call-lowering-const-bitcast-func.ll
call-lowering-i128-on-stack.ll
call-lowering-i256-crash.ll
call-translator-cse.ll
call-translator-ios.ll
call-translator-musttail.ll
call-translator-tail-call-weak.ll
call-translator-tail-call.ll Revert "[GISel]: Fix incorrect IRTranslation while translating null pointer types" 2020-03-30 19:30:42 -04:00
call-translator-variadic-musttail.ll
call-translator.ll Revert "[GISel]: Fix incorrect IRTranslation while translating null pointer types" 2020-03-30 19:30:42 -04:00
combine-anyext-crash.mir
combine-copy.mir
combine-fconstant.mir
combine-mul-to-shl.mir
combiner-load-store-indexing.ll
const-0.ll
constant-dbg-loc.ll
contract-store.mir
debug-cpp.ll
debug-insts.ll
dynamic-alloca-lifetime.ll
dynamic-alloca.ll
fallback-nofastisel.ll
fold-fp-select.mir
fold-select.mir
fp16-copy-gpr.mir
fp128-legalize-crash-pr35690.mir
gisel-abort.ll
gisel-commandline-option-fastisel.ll
gisel-commandline-option.ll
gisel-fail-intermediate-legalizer.ll
inline-asm.ll
inline-memcpy.mir
inline-memmove.mir
inline-memset.mir
inline-small-memcpy.mir
integration-shuffle-vector.ll
irtranslator-atomic-metadata.ll
irtranslator-bitcast.ll
irtranslator-block-order.ll
irtranslator-dilocation.ll
irtranslator-duplicate-types-param.ll
irtranslator-exceptions.ll Revert "[GISel]: Fix incorrect IRTranslation while translating null pointer types" 2020-03-30 19:30:42 -04:00
irtranslator-extends.ll
irtranslator-fp-min-max-intrinsics.ll
irtranslator-load-metadata.ll
irtranslator-max-address-space.ll
irtranslator-memfunc-undef.ll
irtranslator-split-vector-arg.ll
irtranslator-stackprotect-check.ll
irtranslator-store-metadata.ll
irtranslator-tbaa.ll Revert "[GISel]: Fix incorrect IRTranslation while translating null pointer types" 2020-03-30 19:30:42 -04:00
irtranslator-volatile-load-pr36018.ll
irtranslator-weird-alloca-size.ll
legalize-add.mir
legalize-and.mir
legalize-atomicrmw.mir
legalize-blockaddress.mir
legalize-bswap.mir
legalize-build-vector.mir
legalize-ceil.mir
legalize-cmp.mir
legalize-cmpxchg-with-success.mir
legalize-cmpxchg.mir
legalize-combines.mir
legalize-concat-vectors.mir
legalize-constant.mir
legalize-cos.mir
legalize-div.mir
legalize-dyn-alloca.mir
legalize-exceptions.ll
legalize-exp.mir
legalize-ext-cse.mir
legalize-ext-csedebug-output.mir
legalize-ext.mir
legalize-extload.mir
legalize-extract-vector-elt.mir
legalize-extracts.mir
legalize-fcmp.mir
legalize-fexp2.mir
legalize-fma.mir
legalize-fp-arith.mir
legalize-fptoi.mir
legalize-frint.mir
legalize-ignore-non-generic.mir
legalize-inserts.mir
legalize-intrinsic-round.mir
legalize-intrinsic-trunc.mir
legalize-inttoptr-xfail-1.mir
legalize-inttoptr-xfail-2.mir
legalize-itofp.mir
legalize-load-store-fewerElts.mir
legalize-load-store-vector-of-ptr.mir
legalize-load-store.mir
legalize-load-trunc.mir
legalize-log2.mir
legalize-log10.mir
legalize-log.mir
legalize-memcpy-et-al.mir
legalize-merge-values.mir
legalize-mul.mir
legalize-nearbyint.mir
legalize-non-pow2-load-store.mir
legalize-or.mir
legalize-phi-insertpt-decrement.mir
legalize-phi.mir
legalize-pow.mir
legalize-property.mir
legalize-ptr-add.mir
legalize-rem.mir
legalize-s128-div.mir
legalize-select.mir
legalize-sext-128.ll
legalize-sext-128.mir
legalize-sext-copy.mir
legalize-sext-zext-128.mir
legalize-sext.mir
legalize-sextload.mir
legalize-shift.mir
legalize-shuffle-vector.mir
legalize-simple.mir
legalize-sin.mir
legalize-sqrt.mir
legalize-sub.mir
legalize-undef.mir [GlobalISel] combine G_TRUNC with G_MERGE_VALUES 2020-03-16 14:42:01 +01:00
legalize-unmerge-values.mir
legalize-vaarg.mir
legalize-vector-icmp.mir
legalize-vector-shift.mir
legalize-xor.mir
legalize-zextload.mir
legalizer-combiner-zext-trunc-crash.mir
legalizer-combiner.mir
legalizer-info-validation.mir GlobalISel: Translate llvm.fshl/llvm.fshr 2020-03-30 11:34:42 -07:00
lit.local.cfg
load-addressing-modes.mir
load-wro-addressing-modes.mir
localizer-arm64-tti.ll [AArch64][GlobalISel] Don't localize TLS G_GLOBAL_VALUEs on Darwin. 2020-03-24 13:35:50 -07:00
localizer-in-O0-pipeline.mir
localizer.mir
machine-cse-mid-pipeline.mir
memcpy_chk_no_tail.ll
no-neon-no-fp.ll
no-regclass.mir
non-pow-2-extload-combine.mir
observer-change-crash.mir
opt-and-tbnz-tbz.mir
opt-fold-and-tbz-tbnz.mir
opt-fold-compare.mir
opt-fold-ext-tbz-tbnz.mir
opt-fold-shift-tbz-tbnz.mir
opt-fold-trunc-tbz-tbnz.mir
opt-fold-xor-tbz-tbnz.mir
opt-shuffle-splat.mir
prelegalizercombiner-binop-same-val.mir [GlobalISel] Implement identity transforms for x op x -> x 2020-03-30 18:22:37 -07:00
prelegalizercombiner-br.mir
prelegalizercombiner-concat-vectors.mir
prelegalizercombiner-copy-prop-disabled.mir
prelegalizercombiner-extending-loads-cornercases.mir
prelegalizercombiner-extending-loads-s1.mir
prelegalizercombiner-extending-loads.mir
prelegalizercombiner-ptradd-chain.mir
prelegalizercombiner-select.mir [GlobalISel] Fix equality for copies from physregs in matchEqualDefs 2020-03-27 17:52:21 -07:00
prelegalizercombiner-shuffle-vector.mir
prelegalizercombiner-trivial-arith.mir [GlobalISel] Combine (x op 0) -> x for operations with a right identity of 0 2020-03-30 16:49:52 -07:00
prelegalizercombiner-undef.mir [GlobalISel] Port some basic shufflevector undef combines from the DAGCombiner 2020-03-19 16:46:06 -07:00
preselect-process-phis.mir
reg-bank-128bit.mir
regbank-ceil.ll
regbank-extract-vector-elt.mir
regbank-extract.mir
regbank-fma.mir
regbank-fp-use-def.mir
regbank-insert-vector-elt.mir
regbank-intrinsic-round.mir
regbank-intrinsic-trunc.mir
regbank-nearbyint.mir
regbank-select.mir
regbank-shift-imm-64.mir
regbank-trunc-s128.mir
regbankselect-build-vector.mir
regbankselect-dbg-value.mir
regbankselect-default.mir
regbankselect-reg_sequence.mir
regbankselect-unmerge-vec.mir
ret-1x-vec.ll
ret-vec-promote.ll
retry-artifact-combine.mir
select-arith-extended-reg.mir
select-arith-shifted-reg.mir
select-atomic-load-store.mir
select-atomicrmw.mir
select-binop.mir
select-bitcast-bigendian.mir
select-bitcast.mir
select-blockaddress.mir
select-br.mir
select-bswap.mir
select-build-vector.mir
select-cbz.mir
select-ceil.mir
select-cmp.mir
select-cmpxchg.mir
select-concat-vectors.mir
select-constant.mir Revert "[GISel]: Fix incorrect IRTranslation while translating null pointer types" 2020-03-30 19:30:42 -04:00
select-ctlz.mir
select-dbg-value.mir
select-extload.mir
select-extract-vector-elt.mir
select-extract.mir
select-fabs.mir
select-fcmp.mir
select-floor.mir
select-fma.mir
select-fp-casts.mir
select-frameaddr.ll
select-frint-nofp16.mir
select-frint.mir
select-gv-cmodel-large.mir
select-gv-cmodel-tiny.mir
select-imm.mir
select-implicit-def.mir
select-insert-extract.mir
select-insert-vector-elt.mir
select-int-ext.mir
select-int-ptr-casts.mir
select-intrinsic-aarch64-hint.mir
select-intrinsic-aarch64-sdiv.mir
select-intrinsic-crypto-aesmc.mir
select-intrinsic-round.mir
select-intrinsic-trunc.mir
select-jump-table-brjt.mir
select-ldaxr-intrin.mir
select-ldxr-intrin.mir
select-load-store-vector-of-ptr.mir
select-load.mir
select-logical-imm.mir
select-logical-shifted-reg.mir
select-mul.mir
select-muladd.mir
select-nearbyint.mir
select-neon-vcvtfxu2fp.mir
select-phi.mir
select-pr32733.mir
select-property.mir
select-redundant-zext-of-load.mir
select-returnaddr.ll
select-scalar-merge.mir
select-scalar-shift-imm.mir
select-select.mir
select-sextload.mir
select-shuffle-vector.mir
select-shufflevec-undef-mask-elt.mir
select-sqrt.mir
select-stlxr-intrin.mir
select-store.mir
select-stx.mir
select-trap.mir
select-trunc.mir
select-uaddo.mir
select-unmerge.mir
select-vector-icmp.mir
select-vector-shift.mir
select-with-no-legality-check.mir
select-xor.mir
select-zextload.mir
select.mir
store-addressing-modes.mir
store-wro-addressing-modes.mir
subreg-copy.mir
swifterror.ll
swiftself.ll
tail-call-no-save-fp-lr.ll
tbnz-slt.mir
tbz-sgt.mir
translate-constant-dag.ll
translate-gep.ll Revert "[GISel]: Fix incorrect IRTranslation while translating null pointer types" 2020-03-30 19:30:42 -04:00
translate-inline-asm.ll
unknown-intrinsic.ll
varargs-ios-translator.ll
vastart.ll
vec-s16-param.ll
widen-narrow-tbz-tbnz.mir