[PATCH] D142937: [SPIRV][NFC] fix build warning in SPIRVUtils.cpp

Michal Paszkowski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 1 08:03:02 PST 2023


mpaszkowski added a comment.

One (more important) note, only the last error "Element '1': conversion from 'const llvm::SPIRV::FPRoundingMode::FPRoundingMode' to 'unsigned int' requires a narrowing conversion" shows up during compilation and causes it to break. All the other errors show up only in IntelliSense in Visual Studio. This seems to be a known issue with Visual Studio <https://developercommunity.visualstudio.com/t/showing-error-is-ambiguous-even-though-the-code-co/405607>.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D142937/new/

https://reviews.llvm.org/D142937



More information about the llvm-commits mailing list