Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| llvm/test/Transforms/InstCombine/vscale_trunc.ll | ||
|---|---|---|
| 5 | This test isn't really necessary, if you handle the case for i32 -> i8 for the two edge cases. | |
| 16 | Three things:
vscale_range(0, 256) // can't fold. vscale_range(0, 255) // can be folded.
| |
| 28 | This test isn't really necessary, if you handle the case for i32 -> i8 for the two edge cases. | |
| 39 | I'm missing a test for the case where there is no attribute specified. | |
| llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp | ||
|---|---|---|
| 971 | This also requires a check that MaxVScale > 0, because according to the langref (a value of 0 means unbounded). | |
Comment Actions
Added check for MaxVScale > 0
Removed redundant test and added extra case for no attribute
This also requires a check that MaxVScale > 0, because according to the langref (a value of 0 means unbounded).