I generated a bc with a windows version llvm, and wanted to run it with a linux version llvm. However, it can’t.
LLVM IR has a unify format, doesn’t it? why can’t a bc file be recognized by llvm backend?
Thank you.
I generated a bc with a windows version llvm, and wanted to run it with a linux version llvm. However, it can’t.
LLVM IR has a unify format, doesn’t it? why can’t a bc file be recognized by llvm backend?
Thank you.
LLVM IR is machine-independent. That doesn’t mean it is portable between different environments.
Things that can make an IR file not portable between different OSes include: