[llvm-dev] Can attributes be deleted from generated .ll code?

Peng Yu via llvm-dev llvm-dev at lists.llvm.org
Thu Jan 24 14:18:33 PST 2019


Hi,

I tried to delete some attributes (things like #number) from generated
.ll code. And the compiled code runs just fine. Is it guaranteed to
work if the attributes are removed? Are these attributes are just for
optimization or sometimes removing them can break the code?

-- 
Regards,
Peng


More information about the llvm-dev mailing list