Arthur Eubanks
1c7f32334d
[TargetLowering] Only inspect attributes in the arguments for ArgListEntry
...
Parameter attributes are considered part of the function [1], and like
mismatched calling conventions [2], we can't have the verifier check for
mismatched parameter attributes.
This is a reland after fixing MSan issues in D102667.
[1] https://llvm.org/docs/LangRef.html#parameter-attributes
[2] https://llvm.org/docs/FAQ.html#why-does-instcombine-simplifycfg-turn-a-call-to-a-function-with-a-mismatched-calling-convention-into-unreachable-why-not-make-the-verifier-reject-it
Reviewed By: rnk
Differential Revision: https://reviews.llvm.org/D101806
2021-05-18 14:30:22 -07:00
Arthur Eubanks
341902672c
Revert "[TargetLowering] Only inspect attributes in the arguments for ArgListEntry"
...
This reverts commit 16748bd2fb
.
Causes https://crbug.com/1209013
2021-05-16 22:02:10 -07:00
Arthur Eubanks
16748bd2fb
[TargetLowering] Only inspect attributes in the arguments for ArgListEntry
...
Parameter attributes are considered part of the function [1], and like
mismatched calling conventions [2], we can't have the verifier check for
mismatched parameter attributes.
[1] https://llvm.org/docs/LangRef.html#parameter-attributes
[2] https://llvm.org/docs/FAQ.html#why-does-instcombine-simplifycfg-turn-a-call-to-a-function-with-a-mismatched-calling-convention-into-unreachable-why-not-make-the-verifier-reject-it
Reviewed By: rnk
Differential Revision: https://reviews.llvm.org/D101806
2021-05-10 12:35:11 -07:00
Tim Northover
f9b560aa8e
AArch64: get type from correct result when forming BFX
...
Some nodes produce multiple values so when obtaining the type of an ISD::OR we
need to make sure we ask for the correct one. Hopefully that's all of them.
llvm-svn: 323205
2018-01-23 15:11:27 +00:00
Chad Rosier
9faa5bcf13
[AArch64] Move tests from r271677 to a more appropriately named file. NFC.
...
llvm-svn: 271718
2016-06-03 20:11:09 +00:00
Chad Rosier
be879ea751
[AArch64] Spot SBFX-compatible code expressed with sign_extend.
...
This is very similar to r271677, but for extracts from i32 with the SIGN_EXTEND
acting on a arithmetic shift.
llvm-svn: 271717
2016-06-03 20:05:49 +00:00