Revision tags: llvmorg-21-init, llvmorg-19.1.7, llvmorg-19.1.6, llvmorg-19.1.5, llvmorg-19.1.4 |
|
#
3b8606be |
| 18-Nov-2024 |
Jorge Gorbe Moya <jgorbe@google.com> |
Re-land "[SandboxIR] Add debug checker to compare IR before/after a revert (#115968)" (#116671)
This PR re-lands https://github.com/llvm/llvm-project/pull/115968 with a
fix for a buildbot failure.
Re-land "[SandboxIR] Add debug checker to compare IR before/after a revert (#115968)" (#116671)
This PR re-lands https://github.com/llvm/llvm-project/pull/115968 with a
fix for a buildbot failure.
The `IRSnapshotChecker` class is only defined in debug mode, so its unit
tests must also be inside `#ifndef NDEBUG`.
show more ...
|
#
0ae58c45 |
| 18-Nov-2024 |
Jorge Gorbe Moya <jgorbe@google.com> |
Revert "[SandboxIR] Add debug checker to compare IR before/after a revert" (#116666)
Reverts llvm/llvm-project#115968. It caused buildbot failures.
|
#
9161e6ab |
| 18-Nov-2024 |
Jorge Gorbe Moya <jgorbe@google.com> |
[SandboxIR] Add debug checker to compare IR before/after a revert (#115968)
This will help us catch mistakes in change tracking. It's only enabled
when EXPENSIVE_CHECKS are enabled.
|
#
9d85ba57 |
| 12-Nov-2024 |
Jorge Gorbe Moya <jgorbe@google.com> |
[SandboxIR] Preserve the order of switch cases after revert. (#115577)
Preserving the case order is not strictly necessary to preserve
semantics (for example, operations like SwitchInst::removeCase
[SandboxIR] Preserve the order of switch cases after revert. (#115577)
Preserving the case order is not strictly necessary to preserve
semantics (for example, operations like SwitchInst::removeCase will
happily swap cases around). However, I'm planning to introduce an
optional verification step for SandboxIR that will use StructuralHash to
compare IR after a revert to the original IR to help catch tracker bugs,
and the order difference triggers a difference there.
show more ...
|
Revision tags: llvmorg-19.1.3, llvmorg-19.1.2 |
|
#
e1434a87 |
| 04-Oct-2024 |
vporpo <vporpodas@google.com> |
[SandboxIR] Switch more Instruction::create() functions to InsertPosition (#111075)
|
Revision tags: llvmorg-19.1.1 |
|
#
e22b07e7 |
| 30-Sep-2024 |
vporpo <vporpodas@google.com> |
[SandboxIR][NFC] Move Function class to a separate file (#110526)
|
#
eba106d4 |
| 27-Sep-2024 |
vporpo <vporpodas@google.com> |
[SandboxIR][NFC] Move Instruction classes into a separate file (#110294)
|
#
9a312d47 |
| 17-Sep-2024 |
vporpo <vporpodas@google.com> |
[SandboxIR] Implement GlobalAlias (#109019)
This patch implements sandboxir::GlobalAlias, mirroring
llvm::GlobalAlias.
|
#
b9bf831e |
| 17-Sep-2024 |
vporpo <vporpodas@google.com> |
[SandboxIR] Implement GlobalVariable (#108642)
This patch implements sandboxir::GlobalVariable mirroring
llvm::GlobalVariable.
|
Revision tags: llvmorg-19.1.0 |
|
#
ae3e8258 |
| 13-Sep-2024 |
vporpo <vporpodas@google.com> |
[SandboxIR] Implement GlobalIFunc (#108622)
This patch implements sandboxir::GlobalIFunc mirroring
llvm::GlobalIFunc.
|
#
6d859c17 |
| 12-Sep-2024 |
vporpo <vporpodas@google.com> |
[SandboxIR] Implement GlobalValue (#108317)
This patch implements sandboxir::GlobalValue mirroring
llvm::GlobalValue. Please note that the implementation is incomplete as
it's missing several memb
[SandboxIR] Implement GlobalValue (#108317)
This patch implements sandboxir::GlobalValue mirroring
llvm::GlobalValue. Please note that the implementation is incomplete as
it's missing several member functions.
show more ...
|
#
956591be |
| 11-Sep-2024 |
Jorge Gorbe Moya <jgorbe@google.com> |
[SandboxIR] Add remaining SelectInst methods and track swapValues() (#108114)
|
#
840da2e8 |
| 04-Sep-2024 |
Sterling-Augustine <56981066+Sterling-Augustine@users.noreply.github.com> |
[SandboxIR] Implement CmpInst, FCmpInst, and ICmpInst (#106301)
As in the description.
Not sure the macros for "WRAP_XXX" add value or not, but do save some
boiler plate. Maybe there is a better
[SandboxIR] Implement CmpInst, FCmpInst, and ICmpInst (#106301)
As in the description.
Not sure the macros for "WRAP_XXX" add value or not, but do save some
boiler plate. Maybe there is a better way.
show more ...
|
#
e89bcfc0 |
| 03-Sep-2024 |
Jorge Gorbe Moya <jgorbe@google.com> |
[SandboxIR] Add tracking for ShuffleVectorInst::commute. (#106644)
Track it as an operand swap + a `setShuffleMask` and delegate to the
`llvm::ShuffleVectorInst` implementation.
|
Revision tags: llvmorg-19.1.0-rc4 |
|
#
034f2b38 |
| 30-Aug-2024 |
vporpo <vporpodas@google.com> |
[SandboxIR] Implement SandboxIR Type (#106294)
This patch implements sandboxir::Type, a thin wrapper of llvm::Type.
This is designed very similarly to sandbox::Value. Context owns all
sandboxir::T
[SandboxIR] Implement SandboxIR Type (#106294)
This patch implements sandboxir::Type, a thin wrapper of llvm::Type.
This is designed very similarly to sandbox::Value. Context owns all
sandboxir::Type objects and maintains a map between llvm::Type and
sandboxir::Type.
There are a couple of reasons for migrating from llvm::Type to
sandboxir::Type:
- Creating an llvm::Type from within SandboxIR-only code doesn't work
well because it requires you to pass llvm::Context to functions like
llvm::Type::getInt32Ty(C), but you wouldn't normally have access to
llvm::Context C. In unit tests this is not such a big deal because you
have access to both, but it will become an issue in SandboxIR-only code.
- Not being able to get the sandboxir::Context from llvm::Type results
in awkward sandboir APIs with additional sandboxir::Context arguments.
- llvm::Type::getContext() can basically give you access to the whole
LLVM IR, which we should try to avoid.
show more ...
|
#
af4a82e4 |
| 26-Aug-2024 |
vporpo <vporpodas@google.com> |
[SandboxIR] Implement PossiblyNonNegInst (#106149)
This patch implements sandboxir::PossiblyNonNegInst mirroring
llvm::PossiblyNonNegInst.
|
#
3b0a1ecb |
| 26-Aug-2024 |
vporpo <vporpodas@google.com> |
[SandboxIR] Implement PossiblyDisjointInst (#106148)
This patch implements sandboxir::PossiblyDisjointInst mirroring
llvm::PossiblyDisjointInst.
|
#
e8b93ce2 |
| 26-Aug-2024 |
vporpo <vporpodas@google.com> |
[SandboxIR] Implement LandingPadInst (#106116)
This patch implements sandboxir::LandingPadInst mirroring
llvm::LandingPadInst.
|
#
d88876e7 |
| 26-Aug-2024 |
vporpo <vporpodas@google.com> |
[SandboxIR] Implement FenceInst (#105920)
This patch implements sandboxir::FenceInst mirroring llvm::FenceInst.
|
#
d0213216 |
| 24-Aug-2024 |
vporpo <vporpodas@google.com> |
[SandboxIR] Implement CleanupReturnInst (#105750)
This patch implements sandboxir::CleanupReturnInst mirroring
llvm::CleanupReturnInst.
|
#
0d21c2b3 |
| 22-Aug-2024 |
vporpo <vporpodas@google.com> |
[SandboxIR] Implement CatchReturnInst (#105605)
This patch implements sandboxir::CatchReturnInst mirroring
llvm::CatchReturnInst.
|
#
7854b16d |
| 22-Aug-2024 |
vporpo <vporpodas@google.com> |
[SandboxIR] Implement FuncletPadInst, CatchPadInst and CleanupInst (#105294)
This patch implements sandboxir::FuncletPadInst,CatchInst,CleanupInst
mirroring their llvm:: counterparts.
|
#
b5ba7265 |
| 21-Aug-2024 |
Jorge Gorbe Moya <jgorbe@google.com> |
[SandboxIR] Add tracking for `ShuffleVectorInst::setShuffleMask`. (#105590)
|
#
6e8c9703 |
| 20-Aug-2024 |
vporpo <vporpodas@google.com> |
[SandboxIR] Implement CatchSwitchInst (#104652)
This patch implements sandboxir::CatchSwitchInst mirroring
llvm::CatchSwitchInst.
|
Revision tags: llvmorg-19.1.0-rc3 |
|
#
516c1a0e |
| 16-Aug-2024 |
vporpo <vporpodas@google.com> |
[SandboxIR] Implement SwitchInst (#104641)
This patch implements sandboxir::SwitchInst mirroring llvm::SwitchInst.
|