Skip to content

Not all instructions handle vector arguments #3

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

Open
BrunoDutertre opened this issue Jun 25, 2015 · 2 comments
Open

Not all instructions handle vector arguments #3

BrunoDutertre opened this issue Jun 25, 2015 · 2 comments
Labels

Comments

@BrunoDutertre
Copy link
Member

Need to fix Trunc, Zext, Sext, Bitcast?, Inttoptr, Ptrtoint, Select, and Getelementptr?.
They are allowed to have vector operands and return vector values (all of the same
length). The instructions operate element wise in such cases.

@ianamason
Copy link
Member

Most have been fixed.
The only remaining ones are Bitcast and Getelementptr.
Bitcast is a bit of a puzzle, on the one hand they say:

"It is always a no-op cast because no bits change with this conversion."

but on the other hand they give examples like:

%Z = bitcast <2 x int> %V to i64;        ; yields i64: %V

so I don't think it can be a noop on the SMT side.

I haven't pondered GEP.

@ianamason ianamason reopened this Jul 12, 2015
@ianamason
Copy link
Member

Ooops pressed the wrong button. This is NOT closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants