-
Notifications
You must be signed in to change notification settings - Fork 229
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
Add llvm.abs.i32 translation #758
Conversation
I think this implementation is able to handle any type, not just i32. |
I think so too; it would be good to test another type (e.g. @MochalovaAn, there is a spurious merge commit in this pull request too. When you update the change, could you remove that and rebase on the latest master branch? |
Add llvm.abs.i32 translation to "s_abs" instruction. Add test for this. Signed-off-by: amochalo <anastasiya.mochalova@intel.com>
Signed-off-by: amochalo <anastasiya.mochalova@intel.com>
Signed-off-by: amochalo <anastasiya.mochalova@intel.com>
Signed-off-by: amochalo <anastasiya.mochalova@intel.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, Thanks!
* Add llvm.abs.i32 intrinsic translation Add translation of @llvm.abs.* to `s_abs` extended instruction. Signed-off-by: amochalo <anastasiya.mochalova@intel.com> Change-Id: I789fc9902eaec18b781da2965976a36f593cad1a Reviewed-on: https://git-amr-2.devtools.intel.com/gerrit/275911 Reviewed-by: Sotkin, Alexey <alexey.sotkin@intel.com> Tested-by: Sotkin, Alexey <alexey.sotkin@intel.com> Reviewed-by: Pengfei Wang <pengfei.wang@intel.com>
Add llvm.abs.i32 translation to "s_abs" instruction.
Add test for this.