diff options
author | Michael Forney <mforney@mforney.org> | 2019-07-03 00:18:50 -0700 |
---|---|---|
committer | Michael Forney <mforney@mforney.org> | 2019-07-03 02:40:53 -0700 |
commit | 3cc28c8428306a66350ef3722d45ed8c49bc6f15 (patch) | |
tree | 6817f4ec63bf8ca6bb1d1bdbc8dabb85ec3dcddd /test/builtin-expect.qbe | |
parent | d875bf74986b87378f80d7be4cd08e8eb8e91c65 (diff) |
Implement no-op __builtin_expect
Diffstat (limited to 'test/builtin-expect.qbe')
-rw-r--r-- | test/builtin-expect.qbe | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/builtin-expect.qbe b/test/builtin-expect.qbe new file mode 100644 index 0000000..73e3b42 --- /dev/null +++ b/test/builtin-expect.qbe @@ -0,0 +1,8 @@ +export +function w $main() { +@start.1 +@body.2 + %.1 =w loadsw $x + ret %.1 +} +export data $x = align 4 { z 4 } |