1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00
llvm-mirror/test/CodeGen/WebAssembly
Roman Lebedev 5bd901b404 Revert "[WebAssembly] Implementation of global.get/set for reftypes in LLVM IR"
This reverts commit 4facbf213c51e4add2e8c19b08d5e58ad71c72de.

```
********************
FAIL: LLVM :: CodeGen/WebAssembly/funcref-call.ll (44466 of 44468)
******************** TEST 'LLVM :: CodeGen/WebAssembly/funcref-call.ll' FAILED ********************
Script:
--
: 'RUN: at line 1';   /builddirs/llvm-project/build-Clang12/bin/llc < /repositories/llvm-project/llvm/test/CodeGen/WebAssembly/funcref-call.ll --mtriple=wasm32-unknown-unknown -asm-verbose=false -mattr=+reference-types | /builddirs/llvm-project/build-Clang12/bin/FileCheck /repositories/llvm-project/llvm/test/CodeGen/WebAssembly/funcref-call.ll
--
Exit Code: 2

Command Output (stderr):
--
llc: /repositories/llvm-project/llvm/include/llvm/Support/LowLevelTypeImpl.h:44: static llvm::LLT llvm::LLT::scalar(unsigned int): Assertion `SizeInBits > 0 && "invalid scalar size"' failed.

```
2021-07-02 11:49:51 +03:00
..
add-prototypes-conflict.ll [OpaquePtr] Support forward references in textual IR 2021-06-29 20:10:31 +02:00
add-prototypes.ll OpaquePtr: Bulk update tests to use typed sret 2020-11-20 17:58:26 -05:00
address-offsets.ll [test] Split some tests which test both static and pic relocation models 2020-12-04 18:11:35 -08:00
aliases.ll [WebAssembly] MC: Fix for data aliases with offsets (getelementptr) 2020-06-17 16:25:50 -07:00
atomic-fence.ll
atomic-fence.mir [WebAssembly] Rename atomic.notify and *.atomic.wait 2020-11-13 12:04:48 -08:00
atomic-mem-consistency.ll
atomic-pic.ll [WebAssembly] Fix code generated for atomic operations in PIC mode 2020-12-08 18:41:32 -08:00
atomic-rmw.ll
bulk-memory64.ll [WebAssembly] Added 64-bit memory.grow/size/copy/fill 2020-07-06 12:49:50 -07:00
bulk-memory.ll
byval.ll OpaquePtr: Bulk update tests to use typed byval 2020-11-20 14:00:46 -05:00
call-indirect.ll [WebAssembly] Rename WasmLimits::Initial to ::Minimum. NFC. 2021-03-24 09:10:11 +01:00
call-pic.ll [WebAssembly] Replace all calls with generalized multivalue calls 2020-02-18 15:55:20 -08:00
call.ll [WebAssembly] Remove unused FileCheck test prefixes 2020-10-29 13:37:55 -07:00
cfg-stackify-dbg-skip.ll
cfg-stackify-dbg.mir
cfg-stackify-eh.ll [WebAssembly] Fix ExceptionInfo grouping again 2021-03-04 15:05:13 -08:00
cfg-stackify-eh.mir [WebAssembly] Fix fixEndsAtEndOfFunction for delegate 2021-04-22 15:32:00 -07:00
cfg-stackify.ll Reland "[WebAssembly] Eliminate range checks on br_tables" 2020-06-03 14:04:59 -07:00
cfi.ll
clear-cache.ll
comparisons-f32.ll [NFC][WebAssembly] Removed mangled name from test. 2021-04-06 08:55:27 +01:00
comparisons-f64.ll [NFC][WebAssembly] Removed mangled name from test. 2021-04-06 08:55:27 +01:00
comparisons-i32.ll
comparisons-i64.ll
conv-trap.ll
conv.ll [WebAssembly] Remove saturating fp-to-int target intrinsics 2021-04-16 12:11:20 -07:00
copysign-casts.ll
cpus.ll [WebAssembly] Adding 64-bit versions of all load & store ops. 2020-06-15 08:31:56 -07:00
custom-sections.ll
dbgvalue.ll [WebAssembly] Fixed byval args missing DWARF DW_AT_LOCATION 2021-01-07 10:31:38 -08:00
dead-vreg.ll
debugtest-opt.ll Revert "[NFC] remove explicit default value for strboolattr attribute in tests" 2021-05-24 19:43:40 +02:00
debugtrap.ll [WebAssembly] Lower llvm.debugtrap properly 2020-06-04 13:25:10 -07:00
divrem-constant.ll
eh-lsda.ll [WebAssembly] Disable uses of __clang_call_terminate 2021-03-04 14:26:35 -08:00
exception.ll [WebAssembly] Rename event to tag 2021-06-17 20:34:19 -07:00
exception.mir [WebAssembly] Handle empty cleanuppads when adding catch_all 2021-03-01 10:07:05 -08:00
explicit-locals.mir
export-name.ll
f16.ll [WebAssembly] Replace all calls with generalized multivalue calls 2020-02-18 15:55:20 -08:00
f32.ll [WebAssembly] Replace all calls with generalized multivalue calls 2020-02-18 15:55:20 -08:00
f64.ll [WebAssembly] Replace all calls with generalized multivalue calls 2020-02-18 15:55:20 -08:00
fast-isel-br-i1.ll
fast-isel-call-indirect64.ll [WebAssembly] Fix Fast ISEL not lowering 64-bit function pointers 2021-01-28 10:05:29 -08:00
fast-isel-i24.ll
fast-isel-i256.ll
fast-isel-noreg.ll
fast-isel-pr47040.ll [WebAssembly] Fix FastISel address calculation bug 2020-08-08 15:23:11 -07:00
fast-isel.ll
frem.ll [WebAssembly] Replace all calls with generalized multivalue calls 2020-02-18 15:55:20 -08:00
fshl.ll [SelectionDAG] Handle non-power-of-2 bitwidths in expandROT 2020-08-26 09:20:46 +01:00
func.ll
function-bitcasts-varargs.ll
function-bitcasts.ll [WebAssembly] Rename Emscripten EH functions 2020-10-07 09:42:49 -07:00
function-info.mir [WebAssembly] Serialize params/results in MachineFunctionInfo 2021-04-22 15:31:09 -07:00
function-pointer64.ll [WebAssembly] Rename WasmLimits::Initial to ::Minimum. NFC. 2021-03-24 09:10:11 +01:00
global_dtors.ll
global-get.ll [CodeGen][WebAssembly] Better lowering for WASM_SYMBOL_TYPE_GLOBAL symbols 2021-05-11 11:47:40 +02:00
global-set.ll [CodeGen][WebAssembly] Better lowering for WASM_SYMBOL_TYPE_GLOBAL symbols 2021-05-11 11:47:40 +02:00
global.ll [WebAssembly] Replace all calls with generalized multivalue calls 2020-02-18 15:55:20 -08:00
globl.ll
i32-load-store-alignment.ll
i32.ll
i64-load-store-alignment.ll
i64.ll
i128-returned.ll
i128.ll
ident.ll
immediates.ll [WebAssembly] Support single-floating-point immediate value 2021-02-04 18:05:06 -08:00
implicit-def.ll [WebAssembly] Use v128.const instead of splats for constants 2021-04-19 12:43:59 -07:00
import-module.ll
indirect-import.ll Revert "[NFC] remove explicit default value for strboolattr attribute in tests" 2021-05-24 19:43:40 +02:00
indirectbr.ll [WebAssembly] Make BR_TABLE non-duplicable 2020-06-11 15:11:45 -07:00
inline-asm-m.ll
inline-asm-roundtrip.ll
inline-asm.ll [WebAssembly] Support fp reg class in r constraint 2020-11-18 17:05:58 -08:00
inlineasm-output-template.ll
ir-locals-stackid.ll [WebAssembly][CodeGen] IR support for WebAssembly local variables 2021-06-01 11:31:39 +02:00
ir-locals.ll [WebAssembly][CodeGen] IR support for WebAssembly local variables 2021-06-01 11:31:39 +02:00
irreducible-cfg-exceptions.ll
irreducible-cfg.ll
irreducible-cfg.mir
legalize.ll
libcalls.ll Update @llvm.powi to handle different int sizes for the exponent 2021-06-17 09:38:28 +02:00
lit.local.cfg
llround-conv-i32.ll [WebAssembly] Replace all calls with generalized multivalue calls 2020-02-18 15:55:20 -08:00
load-ext-atomic.ll [WebAssembly] Remove unused FileCheck test prefixes 2020-10-29 13:37:55 -07:00
load-ext.ll [WebAssembly] Remove unused FileCheck test prefixes 2020-10-29 13:37:55 -07:00
load-store-i1.ll [WebAssembly] Remove unused FileCheck test prefixes 2020-10-29 13:37:55 -07:00
load-store-pic.ll [WebAssembly] Fix for PIC external symbol ISEL 2021-04-08 12:07:38 -07:00
load-store-static.ll [TargetMachine] Delete wasm special case from shouldAssumeDSOLocal 2020-12-04 23:22:47 -08:00
load.ll [WebAssembly] Adding 64-bit versions of all load & store ops. 2020-06-15 08:31:56 -07:00
lower-em-ehsjlj-multi-return.ll [WebAssembly] Rename Emscripten EH functions 2020-10-07 09:42:49 -07:00
lower-em-ehsjlj-options.ll [WebAssembly] Support Emscripten EH/SjLj in Wasm64 2021-05-14 03:45:09 -07:00
lower-em-exceptions-allowed.ll [Target] As part of using inclusive language within the llvm project, 2020-06-20 00:06:39 -07:00
lower-em-exceptions-resume-only.ll
lower-em-exceptions.ll [WebAssembly] Ignore filters in Emscripten EH landingpads 2021-05-20 01:28:16 -07:00
lower-em-sjlj-alias.ll
lower-em-sjlj-debuginfo.ll [WebAssembly] Use dummy debug info in Emscripten SjLj 2020-04-09 18:44:50 -07:00
lower-em-sjlj-sret.ll [WebAssembly] Rename Emscripten EH functions 2020-10-07 09:42:49 -07:00
lower-em-sjlj.ll [WebAssembly] Support Emscripten EH/SjLj in Wasm64 2021-05-14 03:45:09 -07:00
lower-global-dtors.ll [WebAssembly] Fix the order of destructors in the LowerGlobalDtors pass. 2020-03-26 16:19:02 -07:00
main-declaration.ll
main-no-args.ll
main-three-args.ll
main-with-args.ll
mem-intrinsics.ll [WebAssembly] Replace all calls with generalized multivalue calls 2020-02-18 15:55:20 -08:00
memory-addr32.ll
memory-addr64.ll [WebAssembly] Added 64-bit memory.grow/size/copy/fill 2020-07-06 12:49:50 -07:00
muloti4.ll
multi-return.ll
multivalue-stackify.ll
multivalue-stackify.py
multivalue.ll [WebAssembly] Swap operand order of call_indirect in text format 2021-03-03 08:51:21 +01:00
mutable-globals.ll
negative-base-reg.ll Revert "[NFC] remove explicit default value for strboolattr attribute in tests" 2021-05-24 19:43:40 +02:00
null-streamer.ll [WebAssembly] Rename event to tag 2021-06-17 20:34:19 -07:00
offset-atomics.ll [WebAssembly] Fix code generated for atomic operations in PIC mode 2020-12-08 18:41:32 -08:00
offset-fastisel.ll
offset-folding.ll [test] Add explicit dso_local to definitions in ELF static relocation model tests 2020-12-30 15:47:16 -08:00
offset.ll [SelectionDAGBuilder] Stop setting alignment to one for hidden sret values 2020-05-04 14:44:39 +01:00
phi.ll
pr47375.ll [WebAssembly] Fix incorrect assumption of simple value types 2020-09-06 15:42:21 -07:00
PR40172.ll
PR40267.ll
PR41149.ll
PR41841.ll
reference-types.ll
reg-argument.mir [WebAssembly] Remove exnref and br_on_exn 2021-01-09 02:02:54 -08:00
reg-copy.mir [WebAssembly] Remove exnref and br_on_exn 2021-01-09 02:02:54 -08:00
reg-stackify.ll [DAGCombiner] Rebuild (setcc x, y, ==) from (xor (xor x, y), 1) 2020-07-15 07:34:22 +00:00
return-address-emscripten.ll [WebAssembly] Replace all calls with generalized multivalue calls 2020-02-18 15:55:20 -08:00
return-address-unknown.ll
return-int32.ll
return-void.ll
returned.ll [WebAssembly] Replace all calls with generalized multivalue calls 2020-02-18 15:55:20 -08:00
select.ll
signext-arg.ll [WebAssembly] Replace all calls with generalized multivalue calls 2020-02-18 15:55:20 -08:00
signext-inreg.ll
signext-zeroext.ll
simd-arith.ll [WebAssembly] Mark abs of v2i64 as legal 2021-05-04 13:25:32 -07:00
simd-bitcasts.ll
simd-build-pair.ll
simd-build-vector.ll [WebAssembly] Add shuffles as an option for lowering BUILD_VECTOR 2021-04-09 11:21:49 -07:00
simd-comparisons.ll [WebAssembly] Implement i64x2 comparisons 2021-03-31 10:46:17 -07:00
simd-concat.ll [WebAssembly] Add shuffles as an option for lowering BUILD_VECTOR 2021-04-09 11:21:49 -07:00
simd-conversions.ll [WebAssembly] More codegen for f64x2.convert_low_i32x4_{s,u} 2021-04-20 12:37:13 -07:00
simd-extended-extract.ll
simd-extending.ll [WebAssembly] Codegen for i64x2.extend_{low,high}_i32x4_{s,u} 2021-04-14 13:43:09 -07:00
simd-illegal-signext.ll
simd-intrinsics.ll [WebAssembly] Remove saturating fp-to-int target intrinsics 2021-04-16 12:11:20 -07:00
simd-load-lane-offset.ll [WebAssembly] Set alignment to 1 for SIMD memory intrinsics 2021-05-05 11:59:33 -07:00
simd-load-splat.ll [WebAssembly] Remove unimplemented-simd target feature 2021-03-18 10:23:12 -07:00
simd-load-store-alignment.ll [WebAssembly] Remove unimplemented-simd target feature 2021-03-18 10:23:12 -07:00
simd-load-zero-offset.ll [WebAssembly] Set alignment to 1 for SIMD memory intrinsics 2021-05-05 11:59:33 -07:00
simd-nested-shuffles.ll [WebAssembly][SIMD] Rename shuffle, swizzle, and load_splats 2020-12-22 14:29:06 -08:00
simd-nonconst-sext.ll [WebAssembly] Fix ISel crash in SIGN_EXTEND_INREG lowering 2020-06-03 15:36:44 -07:00
simd-offset.ll [WebAssembly] Use v128.const instead of splats for constants 2021-04-19 12:43:59 -07:00
simd-reductions.ll [WebAssembly] Update v128.any_true 2021-04-11 11:13:16 -07:00
simd-scalar-to-vector.ll
simd-select.ll [WebAssembly] Implement i64x2 comparisons 2021-03-31 10:46:17 -07:00
simd-sext-inreg.ll [WebAssembly] Remove unimplemented-simd target feature 2021-03-18 10:23:12 -07:00
simd-shift-complex-splats.ll [DAG] SelectionDAG::isSplatValue - add ISD::ABS handling 2021-03-18 10:28:29 +00:00
simd-shuffle-bitcast.ll [WebAssembly][SIMD] Rename shuffle, swizzle, and load_splats 2020-12-22 14:29:06 -08:00
simd-unsupported.ll Update @llvm.powi to handle different int sizes for the exponent 2021-06-17 09:38:28 +02:00
simd.ll [WebAssembly] Remove unimplemented-simd target feature 2021-03-18 10:23:12 -07:00
snan_literal.ll [WebAssembly] Support single-floating-point immediate value 2021-02-04 18:05:06 -08:00
stack-alignment.ll [WebAssembly] Adding 64-bit versions of __stack_pointer and other globals 2020-06-25 15:52:44 -07:00
stack-insts.ll Reland "[WebAssembly] Eliminate range checks on br_tables" 2020-06-03 14:04:59 -07:00
stack-protector.ll [WebAssembly] Generate unreachable after __stack_chk_fail 2020-07-08 01:02:05 -07:00
stackified-debug.ll [WebAssembly] Omit DBG_VALUE after terminator 2021-05-14 03:48:19 -07:00
store-trunc-atomic.ll [WebAssembly] Remove unused FileCheck test prefixes 2020-10-29 13:37:55 -07:00
store-trunc.ll [WebAssembly] Remove unused FileCheck test prefixes 2020-10-29 13:37:55 -07:00
store.ll [WebAssembly] Adding 64-bit versions of all load & store ops. 2020-06-15 08:31:56 -07:00
swiftcc.ll [WebAssembly] Support swiftself and swifterror for WebAssembly target 2020-03-19 17:39:52 -07:00
switch-in-loop.ll [WebAssembly] Make BR_TABLE non-duplicable 2020-06-11 15:11:45 -07:00
switch-unreachable-default.ll [BPI] Improve static heuristics for "cold" paths. 2020-12-23 22:47:36 +07:00
switch.ll [WebAssembly] Fixed 64-bit indices in br_table 2020-07-30 10:52:16 -07:00
tailcall.ll OpaquePtr: Bulk update tests to use typed byval 2020-11-20 14:00:46 -05:00
target-features-tls.ll [WebAssembly] Add TLS data segment flag: WASM_SEG_FLAG_TLS 2021-05-12 13:31:02 -07:00
target-features.ll
tls-general-dynamic.ll [WebAssembly] Add TLS data segment flag: WASM_SEG_FLAG_TLS 2021-05-12 13:31:02 -07:00
tls-local-exec.ll [WebAssembly] Add TLS data segment flag: WASM_SEG_FLAG_TLS 2021-05-12 13:31:02 -07:00
umulo-128-legalisation-lowering.ll
umulo-i64.ll
unreachable.ll
unsupported-function-bitcasts.ll [WebAssembly] Replace all calls with generalized multivalue calls 2020-02-18 15:55:20 -08:00
unused-argument.ll [WebAssembly] Replace all calls with generalized multivalue calls 2020-02-18 15:55:20 -08:00
userstack.ll [WebAssembly] Don't fold frame offset for global addresses 2020-11-03 14:56:25 -08:00
varargs.ll
vector-sdiv.ll
vtable.ll
wasmehprepare.ll [WebAssembly] Disable uses of __clang_call_terminate 2021-03-04 14:26:35 -08:00
weak.ll [lld][WebAssembly] Convert more tests to asm format. NFC. 2020-11-19 16:57:00 -08:00