Commit e5b9e1d
committed
[SPIR-V] Consistent handling of TargetExtTypes in emit-intrinsics
TargetExtType values are replaced with calls to
`llvm.spv.track.constant`, with a `poison` value, but
`llvm.spv.assign.type` was called with their original value. This PR
updates the `assign.type` call to be consistent with the
`track.constant` call.
Fixes #134417.1 parent a2c57e1 commit e5b9e1d
File tree
2 files changed
+27
-13
lines changed- llvm
- lib/Target/SPIRV
- test/CodeGen/SPIRV/inline
2 files changed
+27
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1947 | 1947 | | |
1948 | 1948 | | |
1949 | 1949 | | |
| 1950 | + | |
| 1951 | + | |
| 1952 | + | |
| 1953 | + | |
1950 | 1954 | | |
1951 | 1955 | | |
1952 | | - | |
1953 | | - | |
| 1956 | + | |
| 1957 | + | |
1954 | 1958 | | |
1955 | 1959 | | |
1956 | 1960 | | |
| |||
2061 | 2065 | | |
2062 | 2066 | | |
2063 | 2067 | | |
2064 | | - | |
2065 | | - | |
2066 | | - | |
2067 | 2068 | | |
2068 | 2069 | | |
2069 | 2070 | | |
| 2071 | + | |
2070 | 2072 | | |
2071 | 2073 | | |
2072 | | - | |
2073 | | - | |
2074 | | - | |
2075 | | - | |
2076 | | - | |
2077 | | - | |
2078 | | - | |
2079 | | - | |
2080 | 2074 | | |
2081 | 2075 | | |
2082 | 2076 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
0 commit comments