Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ian/allow for typehints in spec #390

Merged
merged 5 commits into from
Sep 18, 2023

Conversation

2over12
Copy link
Collaborator

@2over12 2over12 commented Sep 18, 2023

Adds typehints on values at a given address. The basic strategy here is to store an intrinsic hint at any low value after that instruction. The pointer lifter then converts intrinsics into metadata it can use.

Copy link
Contributor

@frabert frabert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, maybe just double check the added includes to be actually necessary

@@ -8,9 +8,11 @@
#include <llvm/IR/DerivedTypes.h>
#include <llvm/IR/Function.h>
#include <llvm/IR/IRBuilder.h>
#include <llvm/IR/Instruction.h>
#include <llvm/IR/LLVMContext.h>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check that these includes are actually necessary

@2over12 2over12 merged commit e04ff9d into patchable-ir-main Sep 18, 2023
6 checks passed
ekilmer added a commit that referenced this pull request Sep 22, 2023
* patchable-ir-main:
  Revert "Debug utils (#369)" (#391)
  Ian/allow for typehints in spec (#390)
  Use encoded type for constant value mappings (#388)
  Remove challenge testing (#389)
  Debug utils (#369)
  Add `-j` flag to `test-amp-challenge-bins.sh` and update ignore list (#380)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants