Issue 147891
Summary Copy/paste error in vector `__builtin_elementwise_{add,sub}_sat` implementation
Labels clang:frontend
Assignees
Reporter tbaederr
    Here:
https://github.com/llvm/llvm-project/blob/69ff8537296339babc72ae075f3e78a68d1b6816/clang/lib/AST/ExprConstant.cpp#L11540C30-L11546

This is using `RHS.add_sat(RHS)` instead of `LHS.add_sat(RHS)`, which I _think_ it should use.

CC @c8ef 
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to