- Should use targetconstant instead of constant operand for clamp bit, which is expected as an immediate operand. Under certain conditions, such as a common i1 false constant is used in other place and selected before the instruction with clamp bit, register operand may be added instead of immediate one. Use targetcosntant to enforce that.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 29408 Build 29407: arc lint + arc unit
Event Timeline
Comment Actions
Thanks Michael; that is much better than my fix in D59556. Let's go with this one and I'll abandon my one.
This is missing a test case