Commit a2202c4
When doing bitcast of immediate, if the dst type has the same size as the
original one, it is okay to regenerate imm with dst's type (exisiting code).
If the dst type is a vector type, we need to create a temp var, initialized
with the imm, and return the alias to the new temp var.
Change-Id: I2ca811e385e91f682976b5ba209df1e598513e841 parent bda005b commit a2202c4
2 files changed
+27
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
857 | 857 | | |
858 | 858 | | |
859 | 859 | | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
860 | 867 | | |
861 | 868 | | |
862 | | - | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
| 874 | + | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
863 | 886 | | |
864 | 887 | | |
865 | 888 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3020 | 3020 | | |
3021 | 3021 | | |
3022 | 3022 | | |
3023 | | - | |
| 3023 | + | |
3024 | 3024 | | |
3025 | 3025 | | |
3026 | 3026 | | |
| |||
3030 | 3030 | | |
3031 | 3031 | | |
3032 | 3032 | | |
| 3033 | + | |
3033 | 3034 | | |
3034 | 3035 | | |
3035 | 3036 | | |
3036 | 3037 | | |
3037 | 3038 | | |
3038 | 3039 | | |
| 3040 | + | |
3039 | 3041 | | |
3040 | 3042 | | |
3041 | 3043 | | |
| |||
0 commit comments