1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/test/Bindings/llvm-c
aqjune 8a733b9297 [IR] Redefine Freeze instruction
Summary:
This patch redefines freeze instruction from being UnaryOperator to a subclass of UnaryInstruction.

ConstantExpr freeze is removed, as discussed in the previous review.
FreezeOperator is not added because there's no ConstantExpr freeze.
`freeze i8* null` test is added to `test/Bindings/llvm-c/freeze.ll` as well, because the null pointer-related bug in `tools/llvm-c/echo.cpp` is now fixed.
InstVisitor has visitFreeze now because freeze is not unaryop anymore.

Reviewers: whitequark, deadalnix, craig.topper, jdoerfert, lebedev.ri

Reviewed By: craig.topper, lebedev.ri

Subscribers: regehr, nlopes, mehdi_amini, hiraditya, steven_wu, dexonsmith, jfb, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D69932
2019-11-12 10:49:00 +09:00
..
ARM
Inputs [NFC] Adjust "invalid.ll.bc" tests to check for AttrKind #255 not #63 2019-07-11 01:14:30 +00:00
X86
add_named_metadata_operand.ll
atomics.ll
calc.test
callsite_attributes.ll
debug_info.ll [LLVM-C] Add bindings to create macro debug info 2019-10-07 13:57:13 +00:00
echo.ll Fix clone_constant_impl to correctly deal with null pointers 2019-11-05 13:53:52 +09:00
empty.ll
freeze.ll [IR] Redefine Freeze instruction 2019-11-12 10:49:00 +09:00
function_attributes.ll
functions.ll
globals.ll
invalid-bitcode.test [NFC] Adjust "invalid.ll.bc" tests to check for AttrKind #255 not #63 2019-07-11 01:14:30 +00:00
invoke.ll Revert "Expose TailCallKind via the LLVM C API" 2019-08-15 03:49:51 +00:00
memops.ll
objectfile.ll
set_metadata.ll