Xilinx / llvm-aie

Fork of LLVM to support AMD AIEngine processors

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HazardRecognizerTest fails in CI

stephenneuendorffer opened this issue · comments

          This is concerning, I never saw those tests failing locally. This is essentially just verifying the intersection of two bitsets. It then seems that the bitset inside `HR` at cycle `-2` isn't properly set by `HR.emit(1, -2, /*SlotSet=*/0b01);`

Originally posted by @gbossu in #12 (comment)

Ok. Bottom line is that the AIETests unittest executable combines an AIE1 and an AIE2 hazardrecognizer, and there's an ugly static implementation pointer that get's trashed to the wrong version. The failure is dependent on the number of batches AIETests is split in; As such, splitting in batches is a bad thing, if only since running all of AIETests takes 16 ms.

The test changed nature when we started to use the format interface to test conflicts in FuncUnitWrapper; before that, they were separately tested in AIEBundle.

Fixed in 3c7502c, closing.