Commit 062db54
Fix code styles
1. Use Op.getConstantOperandVal to get Constant value
2. (NoFPClass & fcNan) == fcNan
3. Use N2->getAsZExtValue() to get Constant value
4. Use getTargetConstant with ptr width to fix 32bit target
5. Don't propagate the flags
6. Add MIPSr6 testcase for 32bit target tests1 parent b06150f commit 062db54
File tree
3 files changed
+26
-12
lines changed- llvm
- lib/CodeGen/SelectionDAG
- test/CodeGen/Mips
3 files changed
+26
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5761 | 5761 | | |
5762 | 5762 | | |
5763 | 5763 | | |
5764 | | - | |
5765 | | - | |
5766 | | - | |
5767 | | - | |
5768 | | - | |
| 5764 | + | |
| 5765 | + | |
| 5766 | + | |
5769 | 5767 | | |
5770 | | - | |
| 5768 | + | |
5771 | 5769 | | |
5772 | 5770 | | |
5773 | 5771 | | |
| |||
7421 | 7419 | | |
7422 | 7420 | | |
7423 | 7421 | | |
7424 | | - | |
7425 | | - | |
| 7422 | + | |
7426 | 7423 | | |
7427 | 7424 | | |
7428 | 7425 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11850 | 11850 | | |
11851 | 11851 | | |
11852 | 11852 | | |
11853 | | - | |
11854 | 11853 | | |
11855 | | - | |
11856 | | - | |
| 11854 | + | |
| 11855 | + | |
11857 | 11856 | | |
11858 | | - | |
| 11857 | + | |
11859 | 11858 | | |
11860 | 11859 | | |
11861 | 11860 | | |
| |||
| 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 | + | |
0 commit comments