Summary of changes:
- corrected vmcnt(), expcnt(), lgkmcnt() helpers to checks their argument for truncation;
- added saturated versions of these helpers.
See bug 32711 for details: https://bugs.llvm.org//show_bug.cgi?id=32711
Paths
| Differential D32546
[AMDGPU][MC] Added arg checks for vmcnt() expcnt() lgkmcnt() helpers ClosedPublic Authored by dp on Apr 26 2017, 10:41 AM.
Details Summary Summary of changes:
See bug 32711 for details: https://bugs.llvm.org//show_bug.cgi?id=32711
Diff Detail
Event TimelineHerald added subscribers: t-tye, tpr, dstuttard and 5 others. · View Herald TranscriptApr 26 2017, 10:41 AM This revision is now accepted and ready to land.Apr 26 2017, 10:43 AM Closed by commit rL301439: [AMDGPU][MC] Added arg checks for vmcnt, expcnt, lgkmcnt helpers (authored by dpreobra). · Explain WhyApr 26 2017, 11:08 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 96791 llvm/trunk/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
llvm/trunk/test/MC/AMDGPU/sopp-err.s
llvm/trunk/test/MC/AMDGPU/sopp.s
|