HomePhabricator

[SystemZ][z/OS] Fix return values in AutoConversion functions

Authored by abhina.sreeskantharajan on May 5 2021, 6:41 AM.

Description

[SystemZ][z/OS] Fix return values in AutoConversion functions

My previous patch https://reviews.llvm.org/rG1527a5e4b4834e65678f9c30f786a2f4c17932bf incorrectly set int return values instead of std::error_code. This patch correctly returns and std::error_code value.

Reviewed By: fanbo-meng, Jonathan.Crowther

Differential Revision: https://reviews.llvm.org/D101904