1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00
llvm-mirror/test/CodeGen/RISCV
Craig Topper 8ceb7af3d5 [RISCV] Use stack slot to handle SPLAT_VECTOR_PARTS on RV32.
Reduces the amount of vector ALU operations and reduces vector
register pressure.
2021-04-26 15:43:02 -07:00
..
GlobalISel
intrinsics
rvv [RISCV] Use stack slot to handle SPLAT_VECTOR_PARTS on RV32. 2021-04-26 15:43:02 -07:00
add-before-shl.ll
add-imm.ll [RISCV] Optimize addition with immediate 2021-04-26 13:26:17 +08:00
addc-adde-sube-subc.ll
addcarry.ll
addimm-mulimm.ll
addrspacecast.ll
align.ll
alloca.ll
alu8.ll
alu16.ll [RISCV] Use SLLI/SRLI instead of SLLIW/SRLIW for (srl (and X, 0xffff), C) custom isel on RV64. 2021-04-11 13:59:51 -07:00
alu32.ll [RISCV] Teach targetShrinkDemandedConstant to preserve (and X, 0xffffffff). 2021-03-25 09:03:25 -07:00
alu64.ll
analyze-branch.ll
arith-with-overflow.ll
atomic-cmpxchg-flag.ll
atomic-cmpxchg.ll [RISCV] Copy isUnneededShiftMask from X86. 2021-01-27 20:46:10 -08:00
atomic-fence.ll
atomic-load-store.ll
atomic-rmw.ll [RISCV] Copy isUnneededShiftMask from X86. 2021-01-27 20:46:10 -08:00
attributes.ll [RISCV] Update the version number to v0.10 for vector. 2021-01-30 07:20:05 +08:00
blockaddress.ll
branch-relaxation.ll
branch.ll [RISCV] Add isel-patterns to optimize (a < 1) into blez (a <= 0) 2021-03-15 11:32:43 -07:00
bswap-ctlz-cttz-ctpop.ll [RISCV] Use SLLI/SRLI instead of SLLIW/SRLIW for (srl (and X, 0xffff), C) custom isel on RV64. 2021-04-11 13:59:51 -07:00
byval.ll
callee-saved-fpr32s.ll
callee-saved-fpr64s.ll
callee-saved-gprs.ll
calling-conv-half.ll [RISCV] Improve 64-bit integer constant materialization for more cases. 2021-04-02 10:18:08 -07:00
calling-conv-ilp32-ilp32f-common.ll
calling-conv-ilp32-ilp32f-ilp32d-common.ll
calling-conv-ilp32.ll
calling-conv-ilp32d.ll
calling-conv-ilp32f-ilp32d-common.ll
calling-conv-lp64-lp64f-common.ll
calling-conv-lp64-lp64f-lp64d-common.ll
calling-conv-lp64.ll
calling-conv-rv32f-ilp32.ll
calling-conv-sext-zext.ll
calls.ll
cmp-bool.ll
codemodel-lowering.ll
compress-float.ll
compress-inline-asm.ll
compress.ll
copy-frameindex.mir
copysign-casts.ll [RISCV] Use softPromoteHalf legalization for fp16 without Zfh rather than PromoteFloat. 2021-04-01 12:41:57 -07:00
disable-tail-calls.ll
disjoint.ll
div.ll [RISCV] Use SLLI/SRLI instead of SLLIW/SRLIW for (srl (and X, 0xffff), C) custom isel on RV64. 2021-04-11 13:59:51 -07:00
double-arith.ll
double-bitmanip-dagcombines.ll [RISCV] Improve 64-bit integer materialization for some cases. 2021-04-01 09:12:52 -07:00
double-br-fcmp.ll
double-calling-conv.ll
double-convert.ll [RISCV] Fix crash with fptosi.sat/fptoui.sat intrinsics on RV64. Add test cases. 2021-04-22 15:18:15 -07:00
double-fcmp.ll
double-frem.ll
double-imm.ll
double-intrinsics.ll [RISCV] Improve 64-bit integer materialization for some cases. 2021-04-01 09:12:52 -07:00
double-isnan.ll
double-mem.ll
double-previous-failure.ll
double-select-fcmp.ll
double-stack-spill-restore.ll
dwarf-eh.ll
exception-pointer-register.ll
fastcc-float.ll
fastcc-int.ll
fixups-diff.ll
fixups-relax-diff.ll
float-arith.ll
float-bit-preserving-dagcombines.ll [RISCV] Improve 64-bit integer materialization for some cases. 2021-04-01 09:12:52 -07:00
float-bitmanip-dagcombines.ll
float-br-fcmp.ll
float-convert.ll [RISCV] Fix crash with fptosi.sat/fptoui.sat intrinsics on RV64. Add test cases. 2021-04-22 15:18:15 -07:00
float-fcmp.ll
float-frem.ll
float-imm.ll
float-intrinsics.ll
float-isnan.ll
float-mem.ll
float-select-fcmp.ll
flt-rounds.ll
fold-addi-loadstore.ll
fp16-promote.ll [RISCV] Use softPromoteHalf legalization for fp16 without Zfh rather than PromoteFloat. 2021-04-01 12:41:57 -07:00
fp128.ll
fp-imm.ll
fpenv.ll [RISCV] Custom lowering of SET_ROUNDING 2021-04-22 15:04:55 +07:00
frame-info.ll
frame.ll
frameaddr-returnaddr.ll
get-register-invalid.ll
get-register-noreserve.ll
get-register-reserve.ll
get-setcc-result-type.ll
ghccc-rv32.ll
ghccc-rv64.ll
half-arith.ll
half-bitmanip-dagcombines.ll [RISCV] Use softPromoteHalf legalization for fp16 without Zfh rather than PromoteFloat. 2021-04-01 12:41:57 -07:00
half-br-fcmp.ll
half-convert.ll [RISCV] Fix crash with fptosi.sat/fptoui.sat intrinsics on RV64. Add test cases. 2021-04-22 15:18:15 -07:00
half-fcmp.ll
half-imm.ll
half-intrinsics.ll
half-isnan.ll
half-mem.ll
half-select-fcmp.ll
hoist-global-addr-base.ll [RISCV] Add isel-patterns to optimize (a < 1) into blez (a <= 0) 2021-03-15 11:32:43 -07:00
i32-icmp.ll
imm-cse.ll
imm.ll [RISCV] Improve 64-bit integer constant materialization for more cases. 2021-04-02 10:18:08 -07:00
indirectbr.ll
init-array.ll
inline-asm-abi-names.ll
inline-asm-clobbers.ll
inline-asm-d-abi-names.ll
inline-asm-d-constraint-f.ll
inline-asm-f-abi-names.ll
inline-asm-f-constraint-f.ll
inline-asm-i-constraint-i1.ll
inline-asm-invalid.ll
inline-asm.ll
interrupt-attr-args-error.ll
interrupt-attr-callee.ll
interrupt-attr-invalid.ll
interrupt-attr-nocall.ll
interrupt-attr-ret-error.ll
interrupt-attr.ll
jumptable.ll
large-stack.ll [RISCV] remove redundant instruction when eliminate frame index 2021-03-21 18:54:00 +08:00
legalize-fneg.ll
lit.local.cfg
lsr-legaladdimm.ll
machineoutliner.mir
mattr-invalid-combination.ll
mem64.ll
mem.ll
mir-target-flags.ll
module-target-abi2.ll
module-target-abi.ll
mul.ll [RISCV] Add custom type legalization to form MULHSU when possible. 2021-04-01 10:15:55 -07:00
musttail-call.ll
neg-abs.ll
nomerge.ll
option-nopic.ll
option-norelax.ll
option-norvc.ll
option-pic.ll
option-relax.ll
option-rvc.ll
out-of-reach-emergency-slot.mir
patchable-function-entry.ll [RISCV] Support clang -fpatchable-function-entry && GNU function attribute 'patchable_function_entry' 2021-03-16 10:02:35 -07:00
pic-models.ll
pr40333.ll
prefetch.ll
readcyclecounter.ll
rem.ll [RISCV] Add i8/i16 test cases to div.ll and i8/i16/i64 to rem.ll. NFC 2021-02-04 16:46:23 -08:00
remat.ll
reserved-reg-errors.ll
reserved-regs.ll
rotl-rotr.ll
rv32e.ll
rv32i-rv64i-float-double.ll
rv32i-rv64i-half.ll [RISCV] Use softPromoteHalf legalization for fp16 without Zfh rather than PromoteFloat. 2021-04-01 12:41:57 -07:00
rv32zba.ll [RISCV] Rename Zb* extension tests to use lower case 'Z' in file names. 2021-03-22 19:17:04 -07:00
rv32zbb-intrinsic.ll Recommit "[RISCV] Add IR intrinsic for Zbb extension" 2021-04-02 11:50:19 -07:00
rv32zbb-zbp.ll [RISCV] Teach targetShrinkDemandedConstant to preserve (and X, 0xffff) when zext.h is supported. 2021-04-11 10:03:35 -07:00
rv32zbb.ll [RISCV] Rename Zb* extension tests to use lower case 'Z' in file names. 2021-03-22 19:17:04 -07:00
rv32zbc-intrinsic.ll [RISCV] Add IR intrinsics for Zbc extension 2021-04-02 12:09:13 -07:00
rv32zbe-intrinsic.ll [RISCV] [1/2] Add IR intrinsic for Zbe extension 2021-04-25 19:14:34 -07:00
rv32zbp-intrinsic.ll [RISCV] Teach DAG combine what bits Zbp instructions demanded from their inputs. 2021-04-25 21:54:06 -07:00
rv32zbp.ll [RISCV] Rename Zb* extension tests to use lower case 'Z' in file names. 2021-03-22 19:17:04 -07:00
rv32zbr.ll [RISCV] Add IR intrinsic for Zbr extension 2021-04-02 10:58:45 -07:00
rv32zbs.ll [RISCV] Rename Zb* extension tests to use lower case 'Z' in file names. 2021-03-22 19:17:04 -07:00
rv32zbt.ll [RISCV] Rename Zb* extension tests to use lower case 'Z' in file names. 2021-03-22 19:17:04 -07:00
rv64-large-stack.ll
rv64d-double-convert.ll
rv64f-float-convert.ll
rv64f-half-convert.ll
rv64i-complex-float.ll
rv64i-demanded-bits.ll
rv64i-double-softfloat.ll
rv64i-exhaustive-w-insts.ll [RISCV] Optimize (and (shl GPR:, uimm5:), 0xffffffff) to use 2 shifts instead of 3. 2021-03-25 23:31:01 -07:00
rv64i-single-softfloat.ll
rv64i-tricky-shifts.ll
rv64i-w-insts-legalization.ll [RISCV] Add isel pattern to optimize (mul (and X, 0xffffffff), (and Y, 0xffffffff)) on RV64 2021-03-20 14:55:46 -07:00
rv64m-exhaustive-w-insts.ll [RISCV] Have sexti32 also recognize AssertZExt from types smaller than i32. 2021-02-22 14:56:22 -08:00
rv64m-w-insts-legalization.ll
rv64zba.ll [RISCV] Teach targetShrinkDemandedConstant to preserve (and X, 0xffffffff). 2021-03-25 09:03:25 -07:00
rv64zbb-intrinsic.ll [RISCV] Use gorciw for i32 orc.b intrinsic when Zbp is enabled. 2021-04-04 17:14:28 -07:00
rv64zbb-zbp.ll [RISCV] Use SLLI/SRLI instead of SLLIW/SRLIW for (srl (and X, 0xffff), C) custom isel on RV64. 2021-04-11 13:59:51 -07:00
rv64zbb.ll [RISCV] Add RISCVISD opcodes for CLZW and CTZW. 2021-03-31 09:40:07 -07:00
rv64zbc-intrinsic.ll [RISCV] Add IR intrinsics for Zbc extension 2021-04-02 12:09:13 -07:00
rv64zbe-intrinsic.ll [RISCV] Teach DAG combine what bits Zbp instructions demanded from their inputs. 2021-04-25 21:54:06 -07:00
rv64zbp-intrinsic.ll [RISCV] Teach DAG combine what bits Zbp instructions demanded from their inputs. 2021-04-25 21:54:06 -07:00
rv64zbp.ll [RISCV] Improve 64-bit integer materialization for some cases. 2021-04-01 09:12:52 -07:00
rv64zbr.ll [RISCV] Add IR intrinsic for Zbr extension 2021-04-02 10:58:45 -07:00
rv64zbs.ll [RISCV] Improve 64-bit integer materialization for some cases. 2021-04-01 09:12:52 -07:00
rv64zbt.ll [RISCV] Rename Zb* extension tests to use lower case 'Z' in file names. 2021-03-22 19:17:04 -07:00
sadd_sat_plus.ll [RISCV] Add a special case to lowerSELECT for select of 2 constants with a SETLT condition. 2021-04-07 13:47:17 -07:00
sadd_sat.ll [RISCV] Add a special case to lowerSELECT for select of 2 constants with a SETLT condition. 2021-04-07 13:47:17 -07:00
saverestore.ll [RISCV] Don't emit save-restore call if function is a interrupt handler 2021-04-16 12:54:47 +08:00
scalable-vector-struct.ll [RISCV] Use whole register load/store for generic load/store. 2021-02-09 15:52:04 +08:00
sdata-limit-0.ll
sdata-limit-4.ll
sdata-limit-8.ll
sdata-local-sym.ll
select-and.ll
select-bare.ll
select-cc.ll [RISCV] Teach normaliseSetCC to canonicalize X > -1 to X >= 0 and X < 1 to 0 >= X. 2021-03-12 11:50:10 -08:00
select-const.ll
select-optimize-multiple.ll
select-optimize-multiple.mir
select-or.ll
setcc-logic.ll
sext-zext-trunc.ll
shadowcallstack.ll
shift-masked-shamt.ll [RISCV] Copy isUnneededShiftMask from X86. 2021-01-27 20:46:10 -08:00
shifts.ll
shrinkwrap.ll
spill-fpr-scalar.ll [RISCV] Spilling for RISC-V V extension. (2nd version) 2021-02-17 14:05:19 +08:00
split-offsets.ll
split-sp-adjust.ll
srem-lkk.ll [TargetLowering][RISCV][AArch64][PowerPC] Enable BuildUDIV/BuildSDIV on illegal types before type legalization if we can find a larger legal type that supports MUL. 2021-02-11 09:43:13 -08:00
srem-seteq-illegal-types.ll [RISCV] Improve 64-bit integer materialization for some cases. 2021-04-01 09:12:52 -07:00
srem-vector-lkk.ll [RISCV] Improve 64-bit integer materialization for some cases. 2021-04-01 09:12:52 -07:00
ssub_sat_plus.ll [RISCV] Add a special case to lowerSELECT for select of 2 constants with a SETLT condition. 2021-04-07 13:47:17 -07:00
ssub_sat.ll [RISCV] Add a special case to lowerSELECT for select of 2 constants with a SETLT condition. 2021-04-07 13:47:17 -07:00
stack-realignment-with-variable-sized-objects.ll
stack-realignment.ll [RISCV] remove redundant instruction when eliminate frame index 2021-03-21 18:54:00 +08:00
stack-slot-size.ll [RISCV][NFC] Add test of stack slot sizes of large split arguments 2021-03-22 13:41:11 +00:00
stack-store-check.ll
subtarget-features-std-ext.ll
tail-calls.ll
target-abi-invalid.ll
target-abi-valid.ll
thread-pointer.ll
tls-models.ll
uadd_sat_plus.ll [RISCV] Improve i32 UADDSAT/USUBSAT on RV64. 2021-03-16 07:44:06 -07:00
uadd_sat.ll [RISCV] Improve i32 UADDSAT/USUBSAT on RV64. 2021-03-16 07:44:06 -07:00
umulo-128-legalisation-lowering.ll
urem-lkk.ll [TargetLowering][RISCV][AArch64][PowerPC] Enable BuildUDIV/BuildSDIV on illegal types before type legalization if we can find a larger legal type that supports MUL. 2021-02-11 09:43:13 -08:00
urem-seteq-illegal-types.ll [RISCV] Improve 64-bit integer materialization for some cases. 2021-04-01 09:12:52 -07:00
urem-vector-lkk.ll
usub_sat_plus.ll [RISCV] Improve i32 UADDSAT/USUBSAT on RV64. 2021-03-16 07:44:06 -07:00
usub_sat.ll [RISCV] Improve i32 UADDSAT/USUBSAT on RV64. 2021-03-16 07:44:06 -07:00
vararg.ll [RISCV] remove redundant instruction when eliminate frame index 2021-03-21 18:54:00 +08:00
vec3-setcc-crash.ll [RISCV] Fix a codegen crash in getSetCCResultType 2021-01-27 10:22:54 +00:00
vector-abi.ll [RISCV] Add a test showing incorrect codegen 2021-04-05 11:51:03 +01:00
verify-instr.mir
wide-mem.ll
xaluo.ll [RISCV] Add a pattern for (sext_inreg (mul (and X, 0xffffffff), (and Y, 0xffffffff)), i32) to suppress MULW formation 2021-03-27 15:37:18 -07:00
zext-with-load-is-free.ll
zfh-imm.ll