Skip to content

[LinalgExt] MSVC Bug fix - useExp / useExp2 in AggregatedOpInterfaceImpl#23219

Merged
amd-eochoalo merged 1 commit intomainfrom
users/keshavvinayak01/msvc-exp-fix
Jan 20, 2026
Merged

[LinalgExt] MSVC Bug fix - useExp / useExp2 in AggregatedOpInterfaceImpl#23219
amd-eochoalo merged 1 commit intomainfrom
users/keshavvinayak01/msvc-exp-fix

Conversation

@keshavvinayak01
Copy link
Contributor

The original code returns two types, and MSVC refuses to pick a common type. By switching the conditional to return a Value, the types are identical, so MSVC should accept it.

Solves the CI bug raised by #23211

The original code returns two types, and MSVC refuses to pick a common type.
By switching the conditional to return a Value, the types are identical, so MSVC should accept it.

Signed-off-by: Keshav Vinayak Jha <keshavvinayakjha@gmail.com>
@amd-eochoalo
Copy link
Contributor

@keshavvinayak01 can you make sure to build windows_msvc before merging? You can use ci-extra: windows_x64_msvc

@keshavvinayak01
Copy link
Contributor Author

@amd-eochoalo amd-eochoalo merged commit 60b6fb9 into main Jan 20, 2026
59 of 61 checks passed
@amd-eochoalo amd-eochoalo deleted the users/keshavvinayak01/msvc-exp-fix branch January 20, 2026 19:32
keshavvinayak01 added a commit that referenced this pull request Jan 27, 2026
…mpl (#23219)

The original code returns two types, and MSVC refuses to pick a common
type. By switching the conditional to return a Value, the types are
identical, so MSVC should accept it.

Solves the CI bug raised by #23211

Signed-off-by: Keshav Vinayak Jha <keshavvinayakjha@gmail.com>
MaheshRavishankar pushed a commit to MaheshRavishankar/iree that referenced this pull request Feb 24, 2026
…mpl (iree-org#23219)

The original code returns two types, and MSVC refuses to pick a common
type. By switching the conditional to return a Value, the types are
identical, so MSVC should accept it.

Solves the CI bug raised by iree-org#23211

Signed-off-by: Keshav Vinayak Jha <keshavvinayakjha@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants