circt/tools/handshake-runner
Mike Urbach 02823af1a6
Bump LLVM to 3cc852ece438a63e7b09d1c84a81d21598454e1a. (#7847)
This was needed when
3494ee9590
landed.

Similar changes were made upstream here:
https://github.com/llvm/llvm-project/pull/80309/files.

Basically, we now expect the width and value arguments to the APInt
constructor to be consistent. There is some implicit extension or
truncation depending on the signedness of the value, and now a flag to
opt into it.

With this change I've simply opted into the flag where necessary,
rather than thinking hard about how to compute the correct width given
the value.

In places where the `isSigned` flag took the default value of false, I
kept that when I had to explicitly set that flag.

There was exactly one place (CalyxHelpers.cpp), where I actually
flipped the value of `isSigned`. The comment in the code made me think
this erroneously thought the flag was "isUnsigned".

Also updated pybind11 version requirement to avoid this:

https://github.com/llvm/llvm-project/pull/115307#issuecomment-2492463783

Finally, updated a couple handshake cocotb tests to convert to
float for comparison to avoid type mismatches.
2024-11-21 20:15:27 -07:00
..
CMakeLists.txt [Handshake] `StandardToHandshake` -> `CFToHandshake` (#5938) 2023-08-25 09:24:26 +02:00
Simulation.cpp Bump LLVM to 3cc852ece438a63e7b09d1c84a81d21598454e1a. (#7847) 2024-11-21 20:15:27 -07:00
handshake-runner.cpp [LLVM] Bump to e105141 (#5414) 2023-06-21 13:20:27 +02:00