Commit 0801940
committed
[RISCV] Avoid pointer element type access for masked atomicrmw intrinsics
masked.atomicrmw.*.i32 intrinsics access an i32 (and then possibly
mask it), so hardcode MVT::i32 as the access type here, rather than
determining it from the pointer element type.
Differential Revision: https://reviews.llvm.org/D1183361 parent 438f0e1 commit 0801940
1 file changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1121 | 1121 | | |
1122 | 1122 | | |
1123 | 1123 | | |
1124 | | - | |
1125 | | - | |
| 1124 | + | |
1126 | 1125 | | |
1127 | | - | |
| 1126 | + | |
1128 | 1127 | | |
1129 | 1128 | | |
1130 | 1129 | | |
1131 | 1130 | | |
1132 | 1131 | | |
1133 | 1132 | | |
1134 | | - | |
1135 | 1133 | | |
1136 | 1134 | | |
1137 | 1135 | | |
| |||
0 commit comments