flang
flang copied to clipboard
Add attributes to IR instructions
This patch adds the nsz, reassoc attributes to arithmetic instructions. These attributes helps with vectorisation of loops containing reductions.
Also included are testcases.
This commit requires corresponding change to be submitted on the classic-flang-llvm-project repository in order to have all of the test cases passing!
This will only pass when the "Changes for reassoc attributes" PR is merged on classic-flang-llvm-project side.
Please document
XBIT(216, 8)
andXBIT(216, 10)
intools/flang2/docs/xflag.n
.
Gosh, a vital part of this commit got missing! Now it's there.