Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When trying to create a const inst from a 32 bit signed value, we don't want to sign-extend it to 64 bits, as the resulting value won't actually fit in an `i32` if it was negative. This fixes crashes in the following two tests after the APInt constructor asserts were enabled in #114539: ``` Failed Tests (2): LLVM :: CodeGen/SPIRV/transcoding/RelationalOperators.ll LLVM :: CodeGen/SPIRV/uitofp-with-bool.ll ```
- Loading branch information