HomePhabricator

[RISCV] Use gorciw for i32 orc.b intrinsic when Zbp is enabled.

Authored by craig.topper on Sun, Apr 4, 3:40 PM.

Description

[RISCV] Use gorciw for i32 orc.b intrinsic when Zbp is enabled.

The W version of orc.b does not exist in Zbp so we need to use
gorci encoding. If we have Zbp, we can use gorciw which can avoid a
sext.w in some cases.

Details

Committed
craig.topperSun, Apr 4, 5:14 PM
Parents
rGec575e3b0a46: [sanitizer] Simplify GetTls with dl_iterate_phdr on Linux
Branches
Unknown
Tags
Unknown