For any enumerator whose definition does not have an initializer, the associated value is the value of the previous enumerator plus one.
In order to avoid the possibility that two unrelated enumerators to have the same value, we should try to cluster the uninitialized enumerators together.
Details
Details
Diff Detail
Diff Detail
Unit Tests
Unit Tests
Time | Test | |
---|---|---|
60,050 ms | x64 debian > MLIR.Examples/standalone::test.toy |
Event Timeline
Comment Actions
- There is a bug in permlane16 selection I am working on and will put up a patch for soon
- I'm curious how AMDGPU/permlane-op-sel.ll test passes. When I run the runline "llc -march=amdgcn -mcpu=gfx1030 -show-mc-encoding" using ToT and check the output I get "v_permlane16_b32 v0, v0, s7, s0 op_sel:[1,0] ; encoding: [0x00,0x49,0x77,0xd7,0x00,0x0f,0x00,0x20]" not what is in the check line.
llvm/test/CodeGen/AMDGPU/permlane-op-sel.ll | ||
---|---|---|
11 | This line doesn't do anything because ASM-CHRCK is not a check prefix |
llvm/test/CodeGen/AMDGPU/permlane-op-sel.ll | ||
---|---|---|
11 |
Should also add a direct to asm line with -show-mc-encoding to be sure