[Hexagon] Use default attributes for intrinsics
authorNikita Popov <npopov@redhat.com>
Tue, 8 Nov 2022 10:48:03 +0000 (11:48 +0100)
committerNikita Popov <npopov@redhat.com>
Fri, 11 Nov 2022 09:59:00 +0000 (10:59 +0100)
commit8a8983b279dd5e4dceabe1fadbb8980b6adb88f9
tree06688b3c40461df52f5b4c75ebdec1164c50cdae
parente6598b053dc71845423132ac0803b1ecd0b71d45
[Hexagon] Use default attributes for intrinsics

This switches Hexagon intrinsics to use the default attributes
(nosync, nofree, nocallback and willreturn). Especially willreturn
is needed to prevent optimization regressions in the future.

The only intrinsics I've excluded here are the load/store locked
intrinsics, which presumably aren't nosync.

Differential Revision: https://reviews.llvm.org/D137623
llvm/include/llvm/IR/IntrinsicsHexagon.td
llvm/test/CodeGen/Hexagon/circ-load-isel.ll
llvm/test/CodeGen/Hexagon/select-vector-pred.ll