[PATCH] D40532: [globalisel][tablegen] Fix PR35375 by sign-extending the table value to match getConstantVRegVal()

Diana Picus via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 28 03:37:43 PST 2017


rovka accepted this revision.
rovka added a comment.
This revision is now accepted and ready to land.

I don't know if this fixes every edge case that we currently have with and/or immediates in DAGISel, but it works for the PKHBT and doesn't seem to break anything else, so in the interest of simplicity it's probably a good route to take. You should add a summary when you commit though.


https://reviews.llvm.org/D40532





More information about the llvm-commits mailing list