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

Intrinsics using pointless special pointer operations #24

Open
radl97 opened this issue Aug 10, 2020 · 0 comments
Open

Intrinsics using pointless special pointer operations #24

radl97 opened this issue Aug 10, 2020 · 0 comments

Comments

@radl97
Copy link
Contributor

radl97 commented Aug 10, 2020

Pointers are not only alloca'd and loaded and stored on simple programs, which would be good for a simple implementation (see 4b44803 ).

Intrinsics use _point_er casts on function entry, which at this point seems _point_less. (hehe)
I think this can be good if there is at least one cast already for the pointer, but until then, we should use the original type overloaded intrinsics (it seems that gazer.function.entry is already overloaded).

This later would introduce special case for analysis if the simple memory model can handle a value.

  • is it alloca'd or global? Yes
  • is it GEP'd? No
  • is it bitcasted? Yes
  • is the bitcast only in intrinsic functions? yes
  • then proceed to pass to simple memory model (else fail or handover to another memory model, etc.)
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

No branches or pull requests

1 participant