[Bug tree-optimization/64946] [AArch64] gcc.target/aarch64/vect-abs-compile.c - "abs" vectorization fails for char/short types
vekumar at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Feb 26 09:43:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64946
--- Comment #6 from vekumar at gcc dot gnu.org ---
(In reply to Andrew Pinski from comment #5)
> I think you should always use an unsigned type here so it will be defined in
> the IR. This is mentioned in bug 22199#c3 .
Andrew I missed to include something like this
+ (if (TYPE_OVERFLOW_WRAPS (TREE_TYPE (@0)))
+ (convert (op @0 @1)))
as in https://gcc.gnu.org/viewcvs?rev=220695&root=gcc&view=rev
More information about the Gcc-bugs
mailing list