HomePhabricator

[AMDGPU] UBSan bug fix for r345710

Description

[AMDGPU] UBSan bug fix for r345710

UBSan detected an error in our ISelLowering that is exposed only when
you have a dmask == 0x1. Fix this by adding in an explicit check to
ensure we don't do the UBSan detected shl << 32.

Details

Committed
sheredomNov 2 2018, 3:24 AM
Parents
rL345961: [clang-tidy] Get ClangTidyContext out of the business of storing diagnostics.
Branches
Unknown
Tags
Unknown