forked from OSchip/llvm-project
[AMDGPU] make ubsan happy with unsigned left shift
Fixes UBSAN error after rG9ee272f13d88f090817235ef4f91e56bb2a153d6 A trivial signed/unsigned shift.
This commit is contained in:
parent
f8170d8715
commit
576fa5a50c
|
@ -860,7 +860,7 @@ let OtherPredicates = [HasNoSMemTimeInst] in {
|
|||
def : GCNPat <
|
||||
(i64 (readcyclecounter)),
|
||||
(REG_SEQUENCE SReg_64,
|
||||
(S_GETREG_B32 getHwRegImm<HWREG.SHADER_CYCLES, 0, -12>.ret), sub0,
|
||||
(S_GETREG_B32 -26595), sub0,
|
||||
(S_MOV_B32 (i32 0)), sub1)
|
||||
>;
|
||||
} // let OtherPredicates = [HasNoSMemTimeInst]
|
||||
|
|
Loading…
Reference in New Issue