Richard Sandiford
aff1c6427c
[SystemZ] Tweak integer comparison code
...
The architecture has many comparison instructions, including some that
extend one of the operands. The signed comparison instructions use sign
extensions and the unsigned comparison instructions use zero extensions.
In cases where we had a free choice between signed or unsigned comparisons,
we were trying to decide at lowering time which would best fit the available
instructions, taking things like extension type into account. The code
to do that was getting increasingly hairy and was also making some bad
decisions. E.g. when comparing the result of two LLCs, it is better to use
CR rather than CLR, since CR can be fused with a branch while CLR can't.
This patch removes the lowering code and instead adds an operand to
integer comparisons to say whether signed comparison is required,
whether unsigned comparison is required, or whether either is OK.
We can then leave the choice of instruction up to the normal isel code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190138 91177308-0d34-0410-b5e6-96231b3b80d8
2013-09-06 11:51:39 +00:00
..
2013-08-05 11:23:46 +00:00
2013-07-31 11:36:35 +00:00
2013-07-31 11:36:35 +00:00
2013-07-14 06:24:09 +00:00
2013-07-31 11:36:35 +00:00
2013-08-23 11:18:53 +00:00
2013-07-19 16:21:55 +00:00
2013-07-31 11:36:35 +00:00
2013-07-19 16:24:22 +00:00
2013-07-31 11:36:35 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-19 16:24:22 +00:00
2013-09-05 10:36:45 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-08-20 09:14:46 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-31 12:30:20 +00:00
2013-07-31 12:30:20 +00:00
2013-07-31 12:30:20 +00:00
2013-07-31 12:30:20 +00:00
2013-07-31 12:30:20 +00:00
2013-07-31 12:30:20 +00:00
2013-07-31 12:30:20 +00:00
2013-07-31 12:30:20 +00:00
2013-07-31 12:30:20 +00:00
2013-07-31 12:30:20 +00:00
2013-07-31 12:30:20 +00:00
2013-07-31 12:30:20 +00:00
2013-07-31 12:30:20 +00:00
2013-07-31 12:30:20 +00:00
2013-07-31 12:30:20 +00:00
2013-07-31 12:30:20 +00:00
2013-07-31 12:30:20 +00:00
2013-07-31 12:30:20 +00:00
2013-07-31 12:30:20 +00:00
2013-07-31 12:30:20 +00:00
2013-07-31 12:30:20 +00:00
2013-07-31 12:30:20 +00:00
2013-07-31 12:30:20 +00:00
2013-07-31 12:30:20 +00:00
2013-07-31 12:30:20 +00:00
2013-07-31 12:30:20 +00:00
2013-07-31 12:30:20 +00:00
2013-07-31 12:30:20 +00:00
2013-07-31 12:30:20 +00:00
2013-07-31 12:30:20 +00:00
2013-07-31 12:30:20 +00:00
2013-07-31 12:30:20 +00:00
2013-07-31 12:30:20 +00:00
2013-07-31 12:30:20 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-09-06 11:51:39 +00:00
2013-07-14 06:24:09 +00:00
2013-07-31 12:30:20 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-08-19 12:42:31 +00:00
2013-07-31 12:30:20 +00:00
2013-07-31 12:30:20 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-31 12:38:08 +00:00
2013-07-31 12:38:08 +00:00
2013-07-31 12:30:20 +00:00
2013-07-31 12:30:20 +00:00
2013-07-31 12:30:20 +00:00
2013-07-31 12:30:20 +00:00
2013-07-31 12:30:20 +00:00
2013-07-31 12:30:20 +00:00
2013-07-31 12:30:20 +00:00
2013-07-31 12:30:20 +00:00
2013-07-31 12:30:20 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-08-23 11:27:19 +00:00
2013-08-23 11:27:19 +00:00
2013-08-07 11:03:34 +00:00
2013-08-07 11:10:06 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-31 11:36:35 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-08-21 09:04:20 +00:00
2013-08-21 09:04:20 +00:00
2013-08-23 10:27:02 +00:00
2013-08-23 10:27:02 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-08-23 11:18:53 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-31 11:36:35 +00:00
2013-07-31 11:36:35 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-08-19 12:48:54 +00:00
2013-07-14 06:24:09 +00:00
2013-07-19 16:26:39 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-19 16:26:39 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-19 16:37:00 +00:00
2013-07-19 16:37:00 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-19 16:26:39 +00:00
2013-07-19 16:32:12 +00:00
2013-07-19 16:32:12 +00:00
2013-07-19 16:44:32 +00:00
2013-08-23 11:27:19 +00:00
2013-08-23 11:27:19 +00:00
2013-08-23 11:27:19 +00:00
2013-08-23 11:27:19 +00:00
2013-08-23 11:27:19 +00:00
2013-08-23 11:27:19 +00:00
2013-08-23 11:27:19 +00:00
2013-08-23 11:27:19 +00:00
2013-08-01 10:29:45 +00:00
2013-07-14 06:24:09 +00:00
2013-08-01 10:29:45 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-08-01 10:29:45 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-08-01 10:29:45 +00:00
2013-07-14 06:24:09 +00:00
2013-08-01 10:29:45 +00:00
2013-07-14 06:24:09 +00:00
2013-08-23 11:27:19 +00:00
2013-08-23 11:27:19 +00:00
2013-08-23 11:27:19 +00:00
2013-08-23 11:27:19 +00:00
2013-08-23 11:27:19 +00:00
2013-08-23 11:27:19 +00:00
2013-08-23 11:27:19 +00:00
2013-08-23 11:27:19 +00:00
2013-08-28 10:31:43 +00:00
2013-08-01 10:39:40 +00:00
2013-09-03 15:38:35 +00:00
2013-08-28 10:31:43 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-08-23 11:18:53 +00:00
2013-08-23 11:18:53 +00:00
2013-08-23 11:18:53 +00:00
2013-08-23 11:18:53 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-08-19 12:42:31 +00:00
2013-08-19 12:42:31 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-08-21 09:34:56 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-08-21 09:34:56 +00:00
2013-07-14 06:24:09 +00:00
2013-08-19 12:56:58 +00:00
2013-07-19 16:26:39 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-19 16:26:39 +00:00
2013-07-19 16:37:00 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-19 16:26:39 +00:00
2013-07-19 16:37:00 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-08-16 00:37:11 +00:00
2013-08-05 11:23:46 +00:00
2013-08-20 09:38:48 +00:00
2013-08-20 09:38:48 +00:00
2013-08-28 09:01:51 +00:00
2013-08-28 09:01:51 +00:00
2013-08-27 09:54:29 +00:00
2013-07-14 06:24:09 +00:00
2013-08-27 09:54:29 +00:00
2013-08-27 09:54:29 +00:00
2013-09-06 10:25:07 +00:00
2013-08-27 09:54:29 +00:00
2013-07-19 16:21:55 +00:00
2013-07-14 06:24:09 +00:00
2013-07-19 16:24:22 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-19 16:24:22 +00:00
2013-09-05 10:36:45 +00:00
2013-08-23 11:36:42 +00:00
2013-07-31 11:36:35 +00:00
2013-07-16 11:55:57 +00:00
2013-07-18 10:40:35 +00:00
2013-07-16 11:55:57 +00:00
2013-07-18 10:06:15 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-19 16:12:08 +00:00
2013-07-14 06:24:09 +00:00
2013-08-16 11:21:54 +00:00
2013-08-16 11:21:54 +00:00
2013-08-16 11:29:37 +00:00
2013-08-16 11:41:43 +00:00
2013-08-16 11:41:43 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-19 16:21:55 +00:00
2013-07-14 06:24:09 +00:00
2013-07-19 16:24:22 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-14 06:24:09 +00:00
2013-07-19 16:24:22 +00:00
2013-09-05 10:36:45 +00:00